PeerTube/client/tslint.json

38 lines
982 B
JSON
Raw Normal View History

2016-04-08 20:58:07 +02:00
{
2019-04-02 18:30:26 +02:00
"extends": [ "tslint-angular", "tslint-config-standard" ],
2016-04-08 20:58:07 +02:00
"rules": {
"no-inferrable-types": true,
2016-04-08 20:58:07 +02:00
"eofline": true,
"max-line-length": [true, 140],
"no-floating-promises": false,
2018-03-08 17:31:11 +01:00
"no-unused-variable": false, // Memory issues
2019-04-02 18:30:26 +02:00
"await-promise": [true, "PromiseLike"],
"member-ordering": [true, {
"order": [
"public-static-field",
"private-static-field",
"public-instance-field",
"private-instance-field",
"public-constructor",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]}
2016-04-08 20:58:07 +02:00
],
2019-08-01 11:38:26 +02:00
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case",
"allow-trailing-underscore"
],
2016-04-08 20:58:07 +02:00
2019-04-02 18:30:26 +02:00
"no-shadowed-variable": false,
"no-bitwise": false,
"max-classes-per-file": false,
"interface-over-type-literal": false
2016-04-08 20:58:07 +02:00
}
}