We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 837e065 commit 0133907Copy full SHA for 0133907
1 file changed
eslint.config.mjs
@@ -17,13 +17,18 @@ export default defineConfig([
17
},
18
19
rules: {
20
+ // Disable rules
21
'no-console': 'off',
22
'no-plusplus': 'off',
23
'no-await-in-loop': 'off',
24
'no-restricted-syntax': 'off',
- 'no-param-reassign': ['error'],
25
- 'consistent-return': ['error'],
26
- 'no-else-return': ['error'],
+
+ // Enable rules
27
+ 'no-param-reassign': 'error',
28
+ 'consistent-return': 'error',
29
+ 'no-else-return': 'error',
30
+ 'no-var': 'error',
31
+ 'prefer-const': 'error',
32
33
34
]);
0 commit comments