PeerTube/client/tslint.json

40 lines
1005 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": {
2020-06-26 08:37:26 +02:00
"deprecation": {
"severity": "warning"
},
"no-inferrable-types": true,
2016-04-08 20:58:07 +02:00
"eofline": true,
"max-line-length": [true, 140],
2020-06-26 08:37:26 +02:00
"no-floating-promises": 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
}
}