aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 2e4da56b8..aba260657 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -39,7 +39,8 @@
"node/no-unsupported-features/es-syntax": ["error", { "ignores": ["modules"] }],
"react/jsx-filename-extension": [2, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"import/prefer-default-export": "off",
- "no-unused-expressions": "off",
+ "no-unused-expressions": "warn",
+ "@typescript-eslint/no-unused-expressions": "warn",
"prefer-template": "off",
"no-inner-declarations": "off",
"no-plusplus": "off",
@@ -47,7 +48,7 @@
"no-underscore-dangle": "off",
"no-nested-ternary": "off",
"lines-between-class-members": "off",
- "no-explicit-any": "off",
+ "no-explicit-any": "on",
// Note: you must disable the base rule as it can report incorrect errors
"no-shadow": "off",
"@typescript-eslint/no-shadow": "warn",