Created
December 31, 2018 15:31
-
-
Save coltborg/b42bc3a45a9dcd43e9a0712660a6350d to your computer and use it in GitHub Desktop.
ESLint format on save for Vue.js using Visual Studio Code.
This file contains 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, | |
"editor.formatOnSave": true, | |
"[javascript]": { | |
"editor.formatOnSave": false, | |
}, | |
"[vue]": { | |
"editor.formatOnSave": false, | |
}, | |
"eslint.autoFixOnSave": true, | |
"eslint.alwaysShowStatus": true, | |
"eslint.validate": [ | |
{ | |
"language": "javascript", | |
"autoFix": true | |
}, | |
{ | |
"language": "javascriptreact", | |
"autoFix": true | |
}, | |
{ | |
"language": "vue", | |
"autoFix": true | |
}, | |
], | |
"path-autocomplete.pathMappings": { | |
"~": "${folder}/src", | |
"@": "${folder}/src", | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment