【modify】eslint配置文件调整

This commit is contained in:
zer0Black
2023-03-02 17:36:16 +08:00
parent 85f2819ba7
commit 52fd7a1782
+1 -3
View File
@@ -15,8 +15,6 @@ module.exports = {
'avoidEscape': true, 'avoidEscape': true,
'allowTemplateLiterals': true 'allowTemplateLiterals': true
}], }],
'semi': [2, 'never'], 'semi': [2, 'never']
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
} }
} }