阅读背景:

vue格式化代码报错问题解决_我是写BUG的博客_vue 格式化代码报错

来源:互联网 

修改.eslintrc.js文件

module.exports = {
  root: true,
  env: {
    node: true
  },
  extends: [
    'plugin:vue/essential',
    // '@vue/standard'
  ],
  parserOptions: {
    parser: 'babel-eslint'
  },
  rules: {
    'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
    'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
    "indent": ["off", 2]
  }
}
module.exports = {
  root: t



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: