mirror of https://github.com/Chocobozzz/PeerTube
30 lines
801 B
JSON
30 lines
801 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"
|
|
]}
|
|
],
|
|
|
|
"no-shadowed-variable": false,
|
|
"no-bitwise": false,
|
|
"max-classes-per-file": false,
|
|
"interface-over-type-literal": false
|
|
}
|
|
}
|