1
0
Fork 0
peertube/client/tslint.json

38 lines
982 B
JSON
Raw Normal View History

2016-04-08 14:58:07 -04:00
{
2019-04-02 12:30:26 -04:00
"extends": [ "tslint-angular", "tslint-config-standard" ],
2016-04-08 14:58:07 -04:00
"rules": {
"no-inferrable-types": true,
2016-04-08 14:58:07 -04:00
"eofline": true,
"max-line-length": [true, 140],
"no-floating-promises": false,
2018-03-08 11:31:11 -05:00
"no-unused-variable": false, // Memory issues
2019-04-02 12:30:26 -04: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 14:58:07 -04:00
],
2019-08-01 05:38:26 -04:00
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case",
"allow-trailing-underscore"
],
2016-04-08 14:58:07 -04:00
2019-04-02 12:30:26 -04:00
"no-shadowed-variable": false,
"no-bitwise": false,
"max-classes-per-file": false,
"interface-over-type-literal": false
2016-04-08 14:58:07 -04:00
}
}