mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
chore: 修改ESLint配置
This commit is contained in:
parent
45e03fefd4
commit
fa77755c8c
@ -63,9 +63,9 @@ module.exports = {
|
|||||||
'no-eval': 'error',
|
'no-eval': 'error',
|
||||||
'no-var': 'error',
|
'no-var': 'error',
|
||||||
'no-with': 'error',
|
'no-with': 'error',
|
||||||
'no-alert': isProduction ? 'warn' : 'off',
|
'no-alert': isProduction ? 'error' : 'warn',
|
||||||
'no-console': isProduction ? 'warn' : 'off',
|
'no-console': isProduction ? 'error' : 'warn',
|
||||||
'no-debugger': isProduction ? 'warn' : 'off',
|
'no-debugger': isProduction ? 'error' : 'warn',
|
||||||
},
|
},
|
||||||
overrides: [
|
overrides: [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user