2021-12-28 15:37:22 +00:00
|
|
|
{
|
2022-08-29 03:23:07 +00:00
|
|
|
"defaultSeverity": "warning",
|
|
|
|
"rules": {
|
|
|
|
"ban": [
|
|
|
|
true,
|
|
|
|
[
|
|
|
|
"_",
|
|
|
|
"extend"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"_",
|
|
|
|
"isNull"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"_",
|
|
|
|
"isDefined"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"class-name": false,
|
|
|
|
"comment-format": [
|
|
|
|
true,
|
|
|
|
"check-space"
|
|
|
|
],
|
|
|
|
"curly": true,
|
|
|
|
"eofline": false,
|
|
|
|
"forin": false,
|
|
|
|
"indent": [
|
|
|
|
true,
|
|
|
|
4
|
|
|
|
],
|
|
|
|
"interface-name": [
|
|
|
|
true,
|
|
|
|
"never-prefix"
|
|
|
|
],
|
|
|
|
"jsdoc-format": true,
|
|
|
|
"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"
|
|
|
|
]
|
|
|
|
}
|
2021-12-28 15:37:22 +00:00
|
|
|
}
|