diff options
author | Vendicated <vendicated@riseup.net> | 2022-10-20 11:58:20 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-10-20 11:58:20 +0200 |
commit | 36f4478a4f10cb1e8f7b33ebb5d097dd028b9399 (patch) | |
tree | b6c9268cf4c25017e8244065e0ffd1416a809044 /.eslintrc.json | |
parent | 350e7b0a6a2f19728a1839dc7db85717af3399d8 (diff) | |
download | Vencord-36f4478a4f10cb1e8f7b33ebb5d097dd028b9399.tar.gz Vencord-36f4478a4f10cb1e8f7b33ebb5d097dd028b9399.tar.bz2 Vencord-36f4478a4f10cb1e8f7b33ebb5d097dd028b9399.zip |
more eslint
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" } } |