Skip to content

Commit 6358e1a

Browse files
committed
add no-var
1 parent f9d805a commit 6358e1a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

common.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export default {
2828
'prefer-const': ['error', { destructuring: 'all' }],
2929
'no-else-return': ['error', { allowElseIf: true }],
3030
'no-unused-vars': ['error', { caughtErrors: 'none' }],
31+
'no-var': 'error',
3132
'no-empty': ['error', { allowEmptyCatch: true }],
3233
'no-irregular-whitespace': 'error',
3334
'no-prototype-builtins': 'off',

0 commit comments

Comments
 (0)