aboutsummaryrefslogtreecommitdiff
path: root/eslint.config.mjs
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-08-21 17:04:32 -0400
committerbobzel <zzzman@gmail.com>2024-08-21 17:04:32 -0400
commit25ee9e6b3f7da67bcf94eb2affd5793c67777930 (patch)
tree0e35f7c0cccb9efd6358c25fe65830cbfccb243d /eslint.config.mjs
parent203a389be42c79fcb47ae3a826d2f3b54eb85862 (diff)
cleanup of face recognition. some lint fixes.
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'],
},
},