mirror of
https://github.com/plantroon/mx-puppet-xmpp.git
synced 2024-11-16 08:21:40 +00:00
43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
JSON
{
|
|
"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"]
|
|
}
|
|
}
|