xzs-mysql/source/vue/xzs-student/.eslintrc.js

18 lines
348 B
Java
Raw Normal View History

2020-06-14 16:44:45 +08:00
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}