aboutsummaryrefslogtreecommitdiff
path: root/eslint.config.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'eslint.config.mjs')
-rw-r--r--eslint.config.mjs8
1 files changed, 8 insertions, 0 deletions
diff --git a/eslint.config.mjs b/eslint.config.mjs
index 04655ce13..119f2f486 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -29,6 +29,7 @@ export default [
'import/prefer-default-export': 'off',
'no-unused-expressions': 'off',
+ '@typescript-eslint/no-unused-expressions': 'off',
'prefer-template': 'off',
'no-inner-declarations': 'off',
'no-plusplus': 'off',
@@ -42,6 +43,13 @@ export default [
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/no-namespace': 'off',
'react/destructuring-assignment': 0,
+ 'prefer-arrow-callback': 'error',
+ 'no-return-assign': 'error',
+ 'no-await-in-loop': 'error',
+ 'no-loop-func': 'error',
+ 'no-conditional-assign': 'error',
+ 'no-use-before-define': 'error',
+ 'no-explicit-any': 'error',
'no-restricted-globals': ['error', 'event'],
},
},