Skip to content

Commit 9b9f6d5

Browse files
committed
feat(javascript): turn on no-constant-binary-expression
1 parent 63beb6f commit 9b9f6d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/configs/javascript.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export async function javascript(
6868
'no-cond-assign': ['error', 'always'],
6969
'no-console': ['error', { allow: ['warn', 'error'] }],
7070
'no-const-assign': 'error',
71+
'no-constant-binary-expression': 'error',
7172
'no-constant-condition': 'error',
7273
'no-control-regex': 'error',
7374
'no-debugger': 'error',

0 commit comments

Comments
 (0)