2018-07-20 18:11:46 +00:00
|
|
|
module.exports = {
|
2019-04-08 22:20:52 +00:00
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
node: true
|
|
|
|
},
|
2020-08-31 00:39:21 +00:00
|
|
|
extends: [
|
2019-04-08 22:20:52 +00:00
|
|
|
'plugin:vue/essential',
|
|
|
|
'@vue/standard'
|
2018-07-20 18:11:46 +00:00
|
|
|
],
|
2019-04-08 22:20:52 +00:00
|
|
|
rules: {
|
|
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
|
|
|
},
|
2018-07-20 18:11:46 +00:00
|
|
|
parserOptions: {
|
2019-04-08 22:20:52 +00:00
|
|
|
parser: 'babel-eslint'
|
2018-07-20 18:11:46 +00:00
|
|
|
}
|
2018-08-10 06:39:38 +00:00
|
|
|
}
|