aboutsummaryrefslogtreecommitdiff
path: root/eslint.config.mjs
diff options
context:
space:
mode:
authoralyssaf16 <alyssa_feinberg@brown.edu>2024-09-29 15:56:04 -0400
committeralyssaf16 <alyssa_feinberg@brown.edu>2024-09-29 15:56:04 -0400
commitd9389cf288829bc8dd8c26a91693b1cfc4edacfb (patch)
tree6c4e0e353bd2bbfe14ee7fb382ea9e29a5fcaafa /eslint.config.mjs
parentef2a1037a418ad9fa35d6c60feba914d828d5b84 (diff)
parente9c9476ad3958b89843057dc4287ced180ee04c4 (diff)
Merge branch 'alyssa-starter' of https://github.com/brown-dash/Dash-Web into alyssa-starter
Diffstat (limited to 'eslint.config.mjs')
-rw-r--r--eslint.config.mjs5
1 files changed, 3 insertions, 2 deletions
diff --git a/eslint.config.mjs b/eslint.config.mjs
index 619966f20..aebdc20d0 100644
--- a/eslint.config.mjs
+++ b/eslint.config.mjs
@@ -36,6 +36,7 @@ export default [
'no-multi-assign': 'off',
'no-underscore-dangle': 'off',
'no-nested-ternary': 'off',
+ 'no-param-reassign': 'error',
'lines-between-class-members': 'off',
'no-shadow': 'off',
'@typescript-eslint/no-shadow': 'warn',
@@ -47,9 +48,9 @@ export default [
'no-return-assign': 'error',
'no-await-in-loop': 'error',
'no-loop-func': 'error',
- 'no-cond-assign': 'error',
+ '@typescript-eslint/no-cond-assign': 'error',
'no-use-before-define': 'error',
- 'no-explicit-any': 'error',
+ '@typescript-eslint/no-explicit-any': 'error',
'no-restricted-globals': ['error', 'event'],
},
},