Skip to content

Commit 683cd4e

Browse files
committed
Enable check for shadow - as warning
1 parent 9ee7da0 commit 683cd4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eslint.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ export default [
5959
'no-invalid-this': 'off',
6060
'no-labels': 'error',
6161
'no-lonely-if': 'warn',
62+
'no-return-assign': 'warn',
63+
'no-shadow': 'warn',
6264

6365
// moved to @stylistic/js
6466
'@stylistic/js/semi': 'warn',

0 commit comments

Comments
 (0)