Skip to content

Commit 1b8a586

Browse files
committed
chore: promote no-unused-vars and no-debugger to error
- These rules catch real bugs, not style issues, so they should fail CI
1 parent c258fc2 commit 1b8a586

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default [
1818

1919
// Possible Problems
2020
'no-unused-vars': [
21-
'warn',
21+
'error',
2222
{
2323
vars: 'all',
2424
args: 'after-used',
@@ -28,7 +28,7 @@ export default [
2828
},
2929
],
3030
'no-console': 'off', // Common in browser extensions
31-
'no-debugger': 'warn',
31+
'no-debugger': 'error',
3232
'no-constant-binary-expression': 'error',
3333

3434
// Best Practices

0 commit comments

Comments
 (0)