- Install
ESLint
extension - Open
settings.json
by pressingCtrl,
Add following setting
1
2
3"eslint.validate": [
{ "language": "vue", "autoFix": true }
](Optional) Add
"eslint.autoFixOnSave": true
for autofix on save.It should work now, enjoy :)
ESLint
extensionsettings.json
by pressing Ctrl,
Add following setting
1 | "eslint.validate": [ |
(Optional) Add "eslint.autoFixOnSave": true
for autofix on save.
It should work now, enjoy :)