Skip to content

Commit

Permalink
fix: allow console info&clear
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Oct 3, 2024
1 parent 3c0fc30 commit 013e55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configs/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const javascript: Config[] = [
'dot-notation': 'warn',
eqeqeq: ['error', 'smart'],
'no-alert': 'warn',
'no-console': ['warn', { allow: ['warn', 'error'] }],
'no-console': ['warn', { allow: ['warn', 'error', 'info', 'clear'] }],
'no-debugger': 'warn',
'no-duplicate-imports': 'error',
'no-empty': ['error', { allowEmptyCatch: true }],
Expand Down

0 comments on commit 013e55f

Please sign in to comment.