104 lines
2.4 KiB
JSON
104 lines
2.4 KiB
JSON
{
|
|
"rules": {
|
|
"ban": false,
|
|
"class-name": true,
|
|
"comment-format": [true, "check-space"],
|
|
"curly": true,
|
|
"eofline": true,
|
|
"forin": true,
|
|
"indent": [true, "spaces"],
|
|
"interface-name": false,
|
|
"jsdoc-format": true,
|
|
"label-position": true,
|
|
"label-undefined": true,
|
|
"max-line-length": [true, 140],
|
|
"member-access": true,
|
|
"member-ordering": [
|
|
false,
|
|
"public-before-private",
|
|
"static-before-instance",
|
|
"variables-before-functions"
|
|
],
|
|
"no-any": false,
|
|
"no-arg": true,
|
|
"no-bitwise": false,
|
|
"no-conditional-assignment": true,
|
|
"no-consecutive-blank-lines": false,
|
|
"no-console": true,
|
|
"no-construct": true,
|
|
"no-constructor-vars": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-key": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": true,
|
|
"no-eval": true,
|
|
"no-inferrable-types": true,
|
|
"no-internal-module": true,
|
|
"no-require-imports": false,
|
|
"no-shadowed-variable": true,
|
|
"no-string-literal": false,
|
|
"no-switch-case-fall-through": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-unreachable": true,
|
|
"no-unused-expression": true,
|
|
"no-unused-variable": [true, "check-parameters"],
|
|
"no-use-before-declare": 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,
|
|
"trailing-comma": [
|
|
true,
|
|
{
|
|
"multiline": "never",
|
|
"singleline": "never"
|
|
}
|
|
],
|
|
"triple-equals": [
|
|
true,
|
|
"allow-null-check"
|
|
],
|
|
"typedef": [
|
|
true,
|
|
"call-signature",
|
|
"property-declaration",
|
|
"member-variable-declaration"
|
|
],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
}
|
|
],
|
|
"variable-name": [
|
|
true,
|
|
"check-format",
|
|
"ban-keywords"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
}
|