100 строки
1.9 KiB
JSON
100 строки
1.9 KiB
JSON
{
|
|
"defaultSeverity": "warning",
|
|
"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-string-literal": false,
|
|
"no-switch-case-fall-through": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-unused-expression": true,
|
|
"no-var-keyword": true,
|
|
"no-var-requires": true,
|
|
"one-line": [
|
|
true,
|
|
"check-open-brace",
|
|
"check-catch",
|
|
"check-else",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [
|
|
true,
|
|
"single",
|
|
"avoid-escape"
|
|
],
|
|
"radix": true,
|
|
"semicolon": [true, "always"],
|
|
"switch-default": true,
|
|
"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"
|
|
]
|
|
}
|
|
}
|
|
|