86 lines
1.7 KiB
JSON
86 lines
1.7 KiB
JSON
{
|
|
"rules": {
|
|
"semicolon": [
|
|
true,
|
|
"ignore-interfaces",
|
|
"ignore-bound-class-methods"
|
|
],
|
|
"typedef-whitespace": [
|
|
true,
|
|
{
|
|
"call-signature": "nospace",
|
|
"index-signature": "nospace",
|
|
"parameter": "nospace",
|
|
"property-declaration": "nospace",
|
|
"variable-declaration": "nospace"
|
|
}
|
|
],
|
|
"max-line-length": [
|
|
true,
|
|
100
|
|
],
|
|
"no-inferrable-types": true,
|
|
"class-name": true,
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"cyclomatic-complexity": [
|
|
true,
|
|
14
|
|
],
|
|
"indent": [
|
|
true,
|
|
"spaces"
|
|
],
|
|
"one-line": [
|
|
true,
|
|
"check-catch",
|
|
"check-else",
|
|
"check-open-brace",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [
|
|
true,
|
|
"double",
|
|
"avoid-escape"
|
|
],
|
|
"curly": true,
|
|
"eofline": true,
|
|
"no-angle-bracket-type-assertion": true,
|
|
"no-any": true,
|
|
"no-arg": true,
|
|
"no-bitwise": true,
|
|
"no-conditional-assignment": true,
|
|
"no-consecutive-blank-lines": true,
|
|
"no-default-export": true,
|
|
"no-duplicate-variable": true,
|
|
"no-eval": true,
|
|
"no-internal-module": true,
|
|
"no-invalid-this": true,
|
|
"no-null-keyword": true,
|
|
"no-shadowed-variable": true,
|
|
"no-switch-case-fall-through": true,
|
|
"no-trailing-whitespace": true,
|
|
"jsx-closing-bracket-location": [
|
|
1,
|
|
{
|
|
"selfClosing": "after-props"
|
|
}
|
|
],
|
|
"no-var-keyword": true,
|
|
"no-var-requires": false,
|
|
"deprecation": true,
|
|
"use-isnan": true,
|
|
"prefer-const": true,
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
}
|