You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
558 B
21 lines
558 B
5 months ago
|
module.exports = {
|
||
|
root: true,
|
||
|
env: {
|
||
|
node: true,
|
||
|
es6: true,
|
||
|
browser: true
|
||
|
},
|
||
|
extends: ['plugin:vue/essential', 'eslint:recommended', 'plugin:prettier/recommended'],
|
||
|
parserOptions: {
|
||
|
parser: 'babel-eslint'
|
||
|
},
|
||
|
globals: {
|
||
|
envConfig: 'readable'
|
||
|
},
|
||
|
rules: {
|
||
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||
|
'no-unused-vars': 0,
|
||
|
'vue/no-mutating-props': 0
|
||
|
}
|
||
|
}
|