86 строки
2.1 KiB
JSON
86 строки
2.1 KiB
JSON
{
|
|
"rules": {
|
|
"align": [true, "parameters", "statements"],
|
|
"ban": false,
|
|
"class-name": true,
|
|
"comment-format": [true, "check-space"],
|
|
"curly": false,
|
|
"eofline": false,
|
|
"forin": true,
|
|
"indent": [true, "spaces", 4],
|
|
"interface-name": [true, "never-prefix"],
|
|
"jsdoc-format": true,
|
|
"jsx-no-lambda": false,
|
|
"jsx-no-multiline-js": false,
|
|
"label-position": true,
|
|
"max-line-length": false,
|
|
"member-ordering": [true, "static-before-instance"],
|
|
|
|
"no-any": false,
|
|
|
|
"no-arg": true,
|
|
"no-bitwise": false,
|
|
"no-console": [
|
|
false,
|
|
"log",
|
|
"error",
|
|
"debug",
|
|
"info",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
],
|
|
"no-consecutive-blank-lines": true,
|
|
"no-construct": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": [true, "allow-empty-catch"],
|
|
"no-eval": true,
|
|
"no-shadowed-variable": true,
|
|
"no-string-literal": false,
|
|
"no-switch-case-fall-through": true,
|
|
"no-trailing-whitespace": false,
|
|
"no-unsafe-any": false,
|
|
"no-unused-expression": true,
|
|
"no-use-before-declare": false,
|
|
"no-unused-variable": true,
|
|
"no-var-keyword": true,
|
|
"no-void-expression": false,
|
|
"strict-boolean-expressions": true,
|
|
"one-line": [
|
|
true,
|
|
"check-catch",
|
|
"check-else",
|
|
"check-open-brace",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [true, "double", "avoid-escape"],
|
|
"radix": true,
|
|
"semicolon": [true, "always", "ignore-bound-class-methods"],
|
|
"switch-default": true,
|
|
|
|
"trailing-comma": false,
|
|
|
|
"triple-equals": [true, "allow-null-check"],
|
|
"typedef": [true, "parameter", "property-declaration"],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
}
|
|
],
|
|
"variable-name": [
|
|
true,
|
|
"ban-keywords",
|
|
"check-format",
|
|
"allow-leading-underscore",
|
|
"allow-pascal-case"
|
|
],
|
|
"whitespace": [false]
|
|
}
|
|
}
|