aboutsummaryrefslogtreecommitdiffhomepage
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorMax Baumann <[email protected]>2020-12-12 23:58:34 +0100
committerMax Baumann <[email protected]>2020-12-12 23:58:34 +0100
commite2ef7412a487dc7c064b533f7a70d5662e478ae9 (patch)
tree7e1a56833506bf0bceae8b1528642f2d3cb58b67 /.eslintrc.js
parent36558f5460bb843598d72bff3998074dc40bbdaf (diff)
downloadSponsorBlock-e2ef7412a487dc7c064b533f7a70d5662e478ae9.tar.gz
SponsorBlock-e2ef7412a487dc7c064b533f7a70d5662e478ae9.zip
refactor(lint): fix trivial linting errors
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js11
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",