mx-puppet-vk/tslint.json

44 lines
1.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, 2000000000, 4],
"prefer-for-of": true,
"typedef": {
"severity": "warning"
},
"await-promise": [true],
"curly": true,
"no-empty": false,
"no-invalid-this": true,
"no-string-literal": false,
"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"]
}
}