10,611
社区成员




运行xxx.vue的保存参与者 快速修复。
{
"explorer.confirmDelete": false,
"eslint.validate": ["javascript","javascriptreact","html","vue"],
"explorer.confirmDragAndDrop": false,
"editor.detectIndentation": false,
"editor.tabSize": 2,
"vetur.format.defaultFormatter.js": "none",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"files.autoSave": "onFocusChange"
}
npm i -g eslint-plugin-vue
2、配置vscode的settings.json:
"eslint.validate": [
"javascript",
"vue",
"html"
],
3、重启搞定