43 lines
1 KiB
JSON
Executable file
43 lines
1 KiB
JSON
Executable file
{
|
|
"extends": "tslint:recommended",
|
|
"rules": {
|
|
"ordered-imports": false,
|
|
"no-trailing-whitespace": "error",
|
|
"max-classes-per-file": {
|
|
"severity": "warning"
|
|
},
|
|
"object-literal-sort-keys": "off",
|
|
"no-any":{
|
|
"severity": "warning"
|
|
},
|
|
"arrow-return-shorthand": true,
|
|
"no-magic-numbers": [true, -1, 0, 1, 1000],
|
|
"prefer-for-of": true,
|
|
"typedef": {
|
|
"severity": "warning"
|
|
},
|
|
"await-promise": [true],
|
|
"curly": true,
|
|
"no-empty": false,
|
|
"no-invalid-this": true,
|
|
"no-string-throw": {
|
|
"severity": "warning"
|
|
},
|
|
"no-unused-expression": true,
|
|
"prefer-const": true,
|
|
"object-literal-sort-keys": false,
|
|
"indent": [true, "tabs", 1],
|
|
"max-file-line-count": {
|
|
"severity": "warning",
|
|
"options": [500]
|
|
},
|
|
"no-duplicate-imports": true,
|
|
"array-type": [true, "array"],
|
|
"promise-function-async": true,
|
|
"no-bitwise": true,
|
|
"no-debugger": true,
|
|
"no-floating-promises": true,
|
|
"prefer-template": [true, "allow-single-concat"]
|
|
}
|
|
}
|