107 lines
1.6 KiB
JSON
107 lines
1.6 KiB
JSON
|
{
|
||
|
"defaultSeverity": "warning",
|
||
|
"rules": {
|
||
|
"ban": [
|
||
|
true,
|
||
|
[
|
||
|
"_",
|
||
|
"extend"
|
||
|
],
|
||
|
[
|
||
|
"_",
|
||
|
"isNull"
|
||
|
],
|
||
|
[
|
||
|
"_",
|
||
|
"isDefined"
|
||
|
]
|
||
|
],
|
||
|
"class-name": false,
|
||
|
"comment-format": [
|
||
|
false,
|
||
|
"check-space"
|
||
|
],
|
||
|
"curly": true,
|
||
|
"eofline": false,
|
||
|
"forin": false,
|
||
|
"indent": [
|
||
|
true,
|
||
|
4
|
||
|
],
|
||
|
"interface-name": [
|
||
|
false,
|
||
|
"never-prefix"
|
||
|
],
|
||
|
"jsdoc-format": false,
|
||
|
"label-position": true,
|
||
|
"max-line-length": [
|
||
|
false,
|
||
|
140
|
||
|
],
|
||
|
"no-arg": true,
|
||
|
"no-bitwise": false,
|
||
|
"no-console": [
|
||
|
true,
|
||
|
"debug",
|
||
|
"info",
|
||
|
"time",
|
||
|
"timeEnd",
|
||
|
"trace"
|
||
|
],
|
||
|
"no-construct": true,
|
||
|
"no-debugger": true,
|
||
|
"no-duplicate-variable": true,
|
||
|
"no-empty": true,
|
||
|
// "no-eval": true,
|
||
|
"no-string-literal": false,
|
||
|
"no-trailing-whitespace": true,
|
||
|
"no-unused-expression": false,
|
||
|
"no-unused-variable": true,
|
||
|
"no-use-before-declare": false,
|
||
|
"one-line": [
|
||
|
true,
|
||
|
"check-open-brace",
|
||
|
"check-catch",
|
||
|
"check-else",
|
||
|
"check-whitespace"
|
||
|
],
|
||
|
"quotemark": [
|
||
|
true,
|
||
|
"double"
|
||
|
],
|
||
|
"radix": true,
|
||
|
"semicolon": [
|
||
|
true,
|
||
|
"always"
|
||
|
],
|
||
|
"triple-equals": [
|
||
|
true,
|
||
|
"allow-null-check"
|
||
|
],
|
||
|
"typedef": [
|
||
|
true,
|
||
|
"call-signature",
|
||
|
"parameter",
|
||
|
"property-declaration",
|
||
|
"variable-declaration"
|
||
|
],
|
||
|
"typedef-whitespace": [
|
||
|
true,
|
||
|
{
|
||
|
"call-signature": "nospace"
|
||
|
},
|
||
|
{
|
||
|
"index-signature": "space"
|
||
|
}
|
||
|
],
|
||
|
"variable-name": false,
|
||
|
"whitespace": [
|
||
|
false,
|
||
|
"check-branch",
|
||
|
"check-decl",
|
||
|
"check-operator",
|
||
|
"check-separator",
|
||
|
"check-type"
|
||
|
]
|
||
|
}
|
||
|
}
|