Skip to content

Commit a5282ad

Browse files
committed
feat(javascript): turn on no-control-regex
1 parent bd5d34e commit a5282ad

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
@@ -66,6 +66,7 @@ export async function javascript(
6666
'no-cond-assign': ['error', 'always'],
6767
'no-console': ['error', { allow: ['warn', 'error'] }],
6868
'no-const-assign': 'error',
69+
'no-constant-condition': 'error',
6970
'no-control-regex': 'error',
7071
'no-debugger': 'error',
7172
'no-delete-var': 'error',

0 commit comments

Comments
 (0)