-
Install ESLint VS Code extension
-
Install Vue 2 Snippts VS Code extension
-
Install eslint-plugin-html: npm install --save-dev eslint-plugin-html
-
Add
"plugins": ["html"]
to eslintrc config file as per eslint-plugin-html instructions. Vue extension is enabled by default for the plugin. -
Open VS Code user settings and add vue to eslint.validate:
"eslint.validate": [ "javascript", "javascriptreact", "vue" ]