mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-28 11:34:01 -06:00
40 lines
1005 B
JSON
40 lines
1005 B
JSON
{
|
|
"extends": [ "tslint-angular", "tslint-config-standard" ],
|
|
"rules": {
|
|
"deprecation": {
|
|
"severity": "warning"
|
|
},
|
|
"no-inferrable-types": true,
|
|
"eofline": true,
|
|
"max-line-length": [true, 140],
|
|
"no-floating-promises": 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
|
|
}
|
|
}
|