VScode编辑器写vue项目检测ESlint,保存代码自动修复

【VScode编辑器写vue项目检测ESlint,保存代码自动修复】我的settings.json配置如下

{ "eslint.autoFixOnSave": true, "eslint.validate": [ "javascript", "javascriptreact", "html", { "language": "vue", "autoFix": true } ], "eslint.options": { "plugins": [ "html" ] }, "editor.codeActionsOnSave": { "source.fixAll.eslint": true } }```

    推荐阅读