【modify】eslint配置文件调整
This commit is contained in:
@@ -16,6 +16,7 @@ module.exports = {
|
||||
'allowTemplateLiterals': true
|
||||
}],
|
||||
'semi': [2, 'never'],
|
||||
'no-useless-escape': 1
|
||||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user