chore: tidy up .eslintrc.json (#26251)

This commit is contained in:
David Sanders 2020-10-29 14:23:22 -07:00 committed by GitHub
parent e021639472
commit f065b2ddef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,