.eslintrc.js
581 字节
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/essential',
'@vue/standard'
],
globals: {
AMap: false
},
parserOptions: {
parser: 'babel-eslint'
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
"generator-star-spacing": 'off',
"no-tabs":'off',
"no-unused-vars":'off',
"no-unused-consts":'off',
"no-console":'off',
"no-irregular-whitespace":'off',
"no-debugger": 'off'
}
}