2019-10-30 15:31:07 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
'extends': [
|
|
|
|
'plugin:vue/essential',
|
2019-11-01 17:09:17 +00:00
|
|
|
'eslint:recommended'
|
2019-10-30 15:31:07 +00:00
|
|
|
],
|
|
|
|
rules: {
|
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
|
|
|
},
|
|
|
|
parserOptions: {
|
2019-11-01 17:09:17 +00:00
|
|
|
parser: 'babel-eslint'
|
2019-10-30 15:31:07 +00:00
|
|
|
}
|
|
|
|
}
|