25 lines
518 B
JavaScript
25 lines
518 B
JavaScript
|
module.exports = {
|
||
|
root: true,
|
||
|
env: {
|
||
|
browser: true,
|
||
|
node: true
|
||
|
},
|
||
|
parserOptions: {
|
||
|
parser: 'babel-eslint'
|
||
|
},
|
||
|
extends: [
|
||
|
'plugin:vue/recommended'
|
||
|
],
|
||
|
// required to lint *.vue files
|
||
|
plugins: [
|
||
|
'vue'
|
||
|
],
|
||
|
// add your custom rules here
|
||
|
rules: {
|
||
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||
|
'vue/html-self-closing': 'off',
|
||
|
'vue/max-attributes-per-line': 'off'
|
||
|
}
|
||
|
}
|