fix: no-console allow warn and error
This commit is contained in:
parent
8952ede579
commit
8dce7d171d
@ -93,7 +93,7 @@ module.exports = {
|
|||||||
'comma-dangle': ['error', 'always-multiline'],
|
'comma-dangle': ['error', 'always-multiline'],
|
||||||
'no-constant-condition': 'warn',
|
'no-constant-condition': 'warn',
|
||||||
'no-debugger': 'error',
|
'no-debugger': 'error',
|
||||||
'no-console': 'error',
|
'no-console': ['error', { allow: ['warn', 'error'] }],
|
||||||
'no-cond-assign': ['error', 'always'],
|
'no-cond-assign': ['error', 'always'],
|
||||||
'func-call-spacing': ['off', 'never'],
|
'func-call-spacing': ['off', 'never'],
|
||||||
'key-spacing': ['error', { beforeColon: false, afterColon: true }],
|
'key-spacing': ['error', { beforeColon: false, afterColon: true }],
|
||||||
|
Loading…
Reference in New Issue
Block a user