2018-12-04 07:08:40 +00:00
|
|
|
module.exports = {
|
2022-08-22 13:47:07 +00:00
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
'extends': [
|
|
|
|
'plugin:vue/essential',
|
|
|
|
'eslint:recommended'
|
|
|
|
],
|
|
|
|
rules: {
|
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
'no-trailing-spaces': 'error'
|
|
|
|
},
|
|
|
|
parserOptions: {
|
|
|
|
parser: 'babel-eslint'
|
|
|
|
}
|
|
|
|
}
|