108 строки
2.1 KiB
JSON
108 строки
2.1 KiB
JSON
{
|
|
"defaultSeverity": "warn",
|
|
"rules": {
|
|
"align": [
|
|
true,
|
|
"parameters",
|
|
"statements"
|
|
],
|
|
"ban": false,
|
|
"class-name": true,
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"curly": false,
|
|
"forin": false,
|
|
"indent": [
|
|
true,
|
|
"spaces"
|
|
],
|
|
"jsdoc-format": true,
|
|
"label-position": true,
|
|
"max-line-length": [
|
|
false,
|
|
140
|
|
],
|
|
"member-access": false,
|
|
"member-ordering": [
|
|
true,
|
|
"variables-before-functions"
|
|
],
|
|
"no-any": false,
|
|
"no-arg": true,
|
|
"no-bitwise": true,
|
|
"no-conditional-assignment": true,
|
|
"no-console": [
|
|
true,
|
|
"debug",
|
|
"info",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
],
|
|
"no-construct": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": false,
|
|
"no-eval": true,
|
|
"no-inferrable-types": false,
|
|
"no-internal-module": true,
|
|
"no-require-imports": false,
|
|
"no-shadowed-variable": true,
|
|
"no-switch-case-fall-through": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-unused-expression": true,
|
|
"no-var-keyword": true,
|
|
"no-var-requires": true,
|
|
"object-literal-sort-keys": false,
|
|
"one-line": [
|
|
true,
|
|
"check-open-brace",
|
|
"check-catch",
|
|
"check-else",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [
|
|
true,
|
|
"single",
|
|
"avoid-escape"
|
|
],
|
|
"radix": true,
|
|
"semicolon": true,
|
|
"switch-default": true,
|
|
"trailing-comma": [
|
|
false,
|
|
{
|
|
"multiline": "always",
|
|
"singleline": "never"
|
|
}
|
|
],
|
|
"triple-equals": [
|
|
true,
|
|
"allow-null-check"
|
|
],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
}
|
|
],
|
|
"variable-name": false,
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-module",
|
|
"check-type"
|
|
]
|
|
}
|
|
}
|
|
|