Created
October 5, 2017 11:09
-
-
Save xerosanyam/76fded740516029fee16ab7d46c3b446 to your computer and use it in GitHub Desktop.
VSCode settings for Vue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"eslint.enable": true, | |
"eslint.validate": [ | |
{ //list of extensions to validate | |
"language": "html", | |
"autoFix": true | |
}, | |
{ | |
"language": "vue", | |
"autoFix": true //Autofix any fixable errors when linting | |
}, | |
{ | |
"language": "javascript", | |
"autoFix": true | |
}, | |
{ | |
"language": "javascriptreact", | |
"autoFix": true | |
} | |
], | |
"eslint.options": { | |
"extensions": [ //List of file extensions to activate eslint | |
".html", | |
".js", | |
".vue", | |
".jsx" | |
] | |
}, | |
"eslint.run": "onSave", | |
"eslint.autoFixOnSave": true | |
} |
Author
xerosanyam
commented
Oct 5, 2017
- Install vue extension pack with all dependencies
- remove vue extension pack only
- remove vetur unless you want to enable strict type checking of vue code(was asking to add key in v-for and other errors.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment