chore: 修改ESLint配置

This commit is contained in:
pipipi-pikachu 2021-02-03 17:55:21 +08:00
parent 45e03fefd4
commit fa77755c8c
1 changed files with 3 additions and 3 deletions

View File

@ -63,9 +63,9 @@ module.exports = {
'no-eval': 'error',
'no-var': 'error',
'no-with': 'error',
'no-alert': isProduction ? 'warn' : 'off',
'no-console': isProduction ? 'warn' : 'off',
'no-debugger': isProduction ? 'warn' : 'off',
'no-alert': isProduction ? 'error' : 'warn',
'no-console': isProduction ? 'error' : 'warn',
'no-debugger': isProduction ? 'error' : 'warn',
},
overrides: [
{