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"
}
},