mirror of https://github.com/Chocobozzz/PeerTube
38 lines
982 B
JSON
38 lines
982 B
JSON
{
|
|
"extends": [ "tslint-angular", "tslint-config-standard" ],
|
|
"rules": {
|
|
"no-inferrable-types": true,
|
|
"eofline": true,
|
|
"max-line-length": [true, 140],
|
|
"no-floating-promises": false,
|
|
"no-unused-variable": false, // Memory issues
|
|
"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"
|
|
]}
|
|
],
|
|
"variable-name": [
|
|
true,
|
|
"ban-keywords",
|
|
"check-format",
|
|
"allow-leading-underscore",
|
|
"allow-pascal-case",
|
|
"allow-trailing-underscore"
|
|
],
|
|
|
|
"no-shadowed-variable": false,
|
|
"no-bitwise": false,
|
|
"max-classes-per-file": false,
|
|
"interface-over-type-literal": false
|
|
}
|
|
}
|