欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

vscode编辑器 eslint debugger报错

程序员文章站 2024-03-05 12:41:48
...

找到package.json 文件eslintConfig

  "rules": {

      "no-async-promise-executor": "off",

      "no-unused-vars": "off",

      "comma-dangle": "off",

      "no-debugger": "off" 

    }

 

 "eslintConfig": {
    "root": true,
    "env": {
      "node": true
    },
    "globals": {
      "__DEV__": true,
      "wx": true
    },
    "extends": [
      "plugin:vue/essential",
      "eslint:recommended",
      "@vue/prettier"
    ],
    "parserOptions": {
      "parser": "babel-eslint"
    },
    "rules": {
      "no-async-promise-executor": "off",
      "no-unused-vars": "off",
      "comma-dangle": "off",
      "no-debugger": "off"
    }
  },

 

相关标签: js vue webpack