Editor setup
The plugin needs no editor extension of its own: any editor integration that runs ESLint picks it up from your eslint.config.js.
VS Code
Install the ESLint extension, then add to .vscode/settings.json:
json
{
"eslint.validate": ["vue"],
"editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" }
}Fix-on-save goes through the same fix guard as eslint --fix, so a fix that would break a template is not applied.
If another formatter also formats .vue files on save (Prettier, Volar's formatter), turn it off for Vue files or it will fight with ESLint over the Pug:
json
{
"[vue]": { "editor.formatOnSave": false }
}Other editors
- WebStorm / JetBrains IDEs: Settings → Languages & Frameworks → JavaScript → Code Quality Tools → ESLint: choose Automatic ESLint configuration, add
vueto Run for files, and tick Run eslint --fix on save. - Neovim: use the ESLint language server (
eslintin nvim-lspconfig) withvuein itsfiletypes, and runEslintFixAllon save.