Guest User

Untitled

a guest
Jul 18th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. 1. Install ESLint VS Code extension
  2. 2. Install Vue 2 Snippts VS Code extension
  3. 3. Install eslint-plugin-html:
  4. npm install --save-dev eslint-plugin-html
  5. 4. Add `"plugins": ["html"]` to eslintrc config file as per eslint-plugin-html instructions. Vue extension is enabled by default for the plugin.
  6. 5. Open VS Code user settings and add vue to eslint.validate:
  7.  
  8. ```
  9. "eslint.validate": [ "javascript", "javascriptreact", "vue" ]
  10. ```
  11. 6. Restart VS Code, eslint should now be displaying lint errors within `<script>` tags
Add Comment
Please, Sign In to add comment