22 lines
436 B
JavaScript
22 lines
436 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true
|
|
},
|
|
extends: ['plugin:vue/essential'],
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
camelcase: 'off',
|
|
'vue/no-parsing-error': [
|
|
2,
|
|
{
|
|
'x-invalid-end-tag': false
|
|
}
|
|
]
|
|
},
|
|
parserOptions: {
|
|
parser: 'babel-eslint'
|
|
}
|
|
}
|