84 строки
2.3 KiB
JSON
84 строки
2.3 KiB
JSON
|
{
|
||
|
"lintOptions": {
|
||
|
"typeCheck": true
|
||
|
},
|
||
|
"rules": {
|
||
|
"class-name": true,
|
||
|
"comment-format": [
|
||
|
true,
|
||
|
"check-space"
|
||
|
],
|
||
|
"indent": [
|
||
|
true,
|
||
|
"spaces"
|
||
|
],
|
||
|
"no-duplicate-variable": true,
|
||
|
"no-eval": true,
|
||
|
"no-internal-module": false,
|
||
|
"no-trailing-whitespace": true,
|
||
|
"no-unsafe-finally": true,
|
||
|
"no-var-keyword": true,
|
||
|
"one-line": [
|
||
|
true,
|
||
|
"check-open-brace",
|
||
|
"check-whitespace"
|
||
|
],
|
||
|
"quotemark": [
|
||
|
false,
|
||
|
"double"
|
||
|
],
|
||
|
"semicolon": [
|
||
|
true,
|
||
|
"always"
|
||
|
],
|
||
|
"triple-equals": [
|
||
|
true,
|
||
|
"allow-null-check"
|
||
|
],
|
||
|
"typedef-whitespace": [
|
||
|
true,
|
||
|
{
|
||
|
"call-signature": "nospace",
|
||
|
"index-signature": "nospace",
|
||
|
"parameter": "nospace",
|
||
|
"property-declaration": "nospace",
|
||
|
"variable-declaration": "nospace"
|
||
|
}
|
||
|
],
|
||
|
"variable-name": [
|
||
|
true,
|
||
|
"ban-keywords"
|
||
|
],
|
||
|
"whitespace": [
|
||
|
true,
|
||
|
"check-branch",
|
||
|
"check-decl",
|
||
|
"check-operator",
|
||
|
"check-separator",
|
||
|
"check-type"
|
||
|
],
|
||
|
"insecure-random": true,
|
||
|
"no-banned-terms": true,
|
||
|
"no-cookies": true,
|
||
|
"no-delete-expression": true,
|
||
|
"no-disable-auto-sanitization": true,
|
||
|
"no-document-domain": true,
|
||
|
"no-document-write": true,
|
||
|
"no-exec-script": true,
|
||
|
"no-function-constructor-with-string-args": true,
|
||
|
"no-http-string": [true, "http://www.example.com/?.*", "http://www.examples.com/?.*"],
|
||
|
"no-inner-html": true,
|
||
|
"no-octal-literal": true,
|
||
|
"no-reserved-keywords": true,
|
||
|
"no-string-based-set-immediate": true,
|
||
|
"no-string-based-set-interval": true,
|
||
|
"no-string-based-set-timeout": true,
|
||
|
"non-literal-require": true,
|
||
|
"possible-timing-attack": true,
|
||
|
"react-anchor-blank-noopener": true,
|
||
|
"react-iframe-missing-sandbox": true,
|
||
|
"react-no-dangerous-html": true,
|
||
|
"object-literal-key-quotes": [true, "as-needed"]
|
||
|
}
|
||
|
}
|