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.
19 lines
458 B
19 lines
458 B
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
es6: true
|
|
},
|
|
'extends': [
|
|
'plugin:vue/essential', 'plugin:vue/recommended', 'eslint:recommended'
|
|
],
|
|
rules: {
|
|
// 还可以写表达式,厉害了~
|
|
/* 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', */
|
|
},
|
|
parserOptions: {
|
|
parser: 'babel-eslint'
|
|
}
|
|
}
|
|
|