chore: tidy up .eslintrc.json (#26251)
This commit is contained in:
parent
e021639472
commit
f065b2ddef
1 changed files with 7 additions and 7 deletions
|
@ -8,9 +8,9 @@
|
||||||
"rules": {
|
"rules": {
|
||||||
"semi": ["error", "always"],
|
"semi": ["error", "always"],
|
||||||
"no-var": "error",
|
"no-var": "error",
|
||||||
"no-unused-vars": 0,
|
"no-unused-vars": "off",
|
||||||
"no-global-assign": 0,
|
"no-global-assign": "off",
|
||||||
"guard-for-in": 2,
|
"guard-for-in": "error",
|
||||||
"@typescript-eslint/no-unused-vars": ["error", {
|
"@typescript-eslint/no-unused-vars": ["error", {
|
||||||
"vars": "all",
|
"vars": "all",
|
||||||
"args": "after-used",
|
"args": "after-used",
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
"destructuring": "all"
|
"destructuring": "all"
|
||||||
}],
|
}],
|
||||||
"standard/no-callback-literal": "off",
|
"standard/no-callback-literal": "off",
|
||||||
"node/no-deprecated-api": 0
|
"node/no-deprecated-api": "off"
|
||||||
},
|
},
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": 6,
|
"ecmaVersion": 6,
|
||||||
|
|
Loading…
Reference in a new issue