aboutsummaryrefslogtreecommitdiff
path: root/eslint.config.mjs
diff options
context:
space:
mode:
authoreleanor-park <eleanor_park@brown.edu>2024-09-22 15:40:29 -0400
committereleanor-park <eleanor_park@brown.edu>2024-09-22 15:40:29 -0400
commit6d0cec80757dcdb07434d7788dd2eb97c2ce4b7c (patch)
tree58bc45587534b17a5bb340e8e5bafc47a749f14f /eslint.config.mjs
parent692076b1356309111c4f2cb69cbdbf4be1a825bd (diff)
parent97c150a2b53ccb27921125d55c9cbf42abf3c588 (diff)
Merge branch 'eleanor-gptdraw' of https://github.com/brown-dash/Dash-Web into eleanor-gptdraw
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'],
},
},