64 строки
1.5 KiB
JSON
64 строки
1.5 KiB
JSON
{
|
|
"rules": {
|
|
"align": [true,
|
|
"parameters",
|
|
"arguments",
|
|
"statements"
|
|
],
|
|
"class-name": true,
|
|
"curly": true,
|
|
"eofline": true,
|
|
"forin": true,
|
|
"indent": [true, "spaces", 4],
|
|
"label-position": true,
|
|
"label-undefined": true,
|
|
"max-line-length": [false, 160],
|
|
"no-arg": true,
|
|
"no-bitwise": true,
|
|
"no-console": [true,
|
|
"debug",
|
|
"info",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
],
|
|
"no-consecutive-blank-lines": true,
|
|
"no-construct": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-key": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": true,
|
|
"no-eval": true,
|
|
"no-require-imports": false,
|
|
"no-null-keyword": true,
|
|
"no-string-literal": false,
|
|
"no-switch-case-fall-through": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-unused-variable": true,
|
|
"no-unreachable": true,
|
|
"no-use-before-declare": true,
|
|
"no-var-keyword": true,
|
|
"one-line": [true,
|
|
"check-open-brace",
|
|
"check-catch",
|
|
"check-else",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [true, "single", "avoid-escape"],
|
|
"radix": false,
|
|
"semicolon": true,
|
|
"trailing-comma": [true, {"multiline": "never", "singleline": "never"}],
|
|
"triple-equals": [true, "allow-null-check"],
|
|
"variable-name": [true,
|
|
"check-format",
|
|
"allow-leading-underscore",
|
|
"ban-keywords"
|
|
],
|
|
"whitespace": [true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator"
|
|
]
|
|
}
|
|
} |