diff options
Diffstat (limited to '.eslintrc.json')
-rw-r--r-- | .eslintrc.json | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json index 0807154..3d216f4 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -35,6 +35,26 @@ "no-constant-condition": ["error", { "checkLoops": false }], "no-duplicate-imports": "error", "no-extra-semi": "error", - "consistent-return": ["error", { "treatUndefinedAsUnspecified": true }] + "consistent-return": ["warn", { "treatUndefinedAsUnspecified": true }], + "dot-notation": "error", + "no-useless-escape": "error", + "no-fallthrough": "error", + "for-direction": "error", + "no-async-promise-executor": "error", + "no-cond-assign": "error", + "no-dupe-else-if": "error", + "no-duplicate-case": "error", + "no-irregular-whitespace": "error", + "no-loss-of-precision": "error", + "no-misleading-character-class": "error", + "no-prototype-builtins": "error", + "no-regex-spaces": "error", + "no-shadow-restricted-names": "error", + "no-unexpected-multiline": "error", + "no-unsafe-optional-chaining": "error", + "no-useless-backreference": "error", + "use-isnan": "error", + "prefer-const": "error", + "prefer-spread": "error" } } |