Skip to content

Commit 013e55f

Browse files
committed
fix: allow console info&clear
1 parent 3c0fc30 commit 013e55f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/configs/javascript.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const javascript: Config[] = [
3737
'dot-notation': 'warn',
3838
eqeqeq: ['error', 'smart'],
3939
'no-alert': 'warn',
40-
'no-console': ['warn', { allow: ['warn', 'error'] }],
40+
'no-console': ['warn', { allow: ['warn', 'error', 'info', 'clear'] }],
4141
'no-debugger': 'warn',
4242
'no-duplicate-imports': 'error',
4343
'no-empty': ['error', { allowEmptyCatch: true }],

0 commit comments

Comments
 (0)