diff options
author | Max Baumann <[email protected]> | 2020-12-12 23:58:34 +0100 |
---|---|---|
committer | Max Baumann <[email protected]> | 2020-12-12 23:58:34 +0100 |
commit | e2ef7412a487dc7c064b533f7a70d5662e478ae9 (patch) | |
tree | 7e1a56833506bf0bceae8b1528642f2d3cb58b67 /.eslintrc.js | |
parent | 36558f5460bb843598d72bff3998074dc40bbdaf (diff) | |
download | SponsorBlock-e2ef7412a487dc7c064b533f7a70d5662e478ae9.tar.gz SponsorBlock-e2ef7412a487dc7c064b533f7a70d5662e478ae9.zip |
refactor(lint): fix trivial linting errors
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 183a27a0..eed0584b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -18,7 +18,16 @@ module.exports = { sourceType: "module", }, plugins: ["react", "@typescript-eslint"], - rules: {}, + rules: { + // TODO: Remove warn rules when not needed anymore + "@typescript-eslint/no-this-alias": "warn", + "no-fallthrough": "warn", + "no-self-assign": "warn", + "@typescript-eslint/no-explicit-any": "warn", + "@typescript-eslint/no-unused-vars": "warn", + "@typescript-eslint/no-empty-interface": "warn", + "@typescript-eslint/ban-types": "warn", + }, settings: { react: { version: "detect", |