Last active
December 21, 2018 02:49
-
-
Save codegenin/f648710ee11e6f2c8cf65c5289c8acdf to your computer and use it in GitHub Desktop.
VSCode VueJs Initial Project Settings
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
### Plugins | |
Vetur | |
ESlint | |
Prettier | |
Copy Relative Path | |
Vue VSCode Snippets by Sarah.Drasner - Add in user settings "vetur.completion.userScaffoldSnippets":false | |
Themes - Night Owl / FlatUI | |
### for nuxtjs install | |
npm i -D eslint-plugin-prettier eslint-config-prettier | |
### .eslintrc.js | |
add "plugin:prettier/recommended", "@vue/prettier" in extends | |
----- For NuxtJs Use --- | |
'prettier', | |
'prettier/standard', | |
'prettier/vue' | |
### .prettierrc.js | |
module.exports = { | |
singleQuote: true, | |
semi: false | |
} | |
### Additional User Settings | |
"vetur.validation.template": false, | |
"eslint.validate": [{ | |
"language": "vue", | |
"autoFix": true | |
}, | |
{ | |
"language": "html", | |
"autoFix": true | |
}, | |
{ | |
"language": "javascript", | |
"autoFix": true | |
} | |
], | |
"eslint.autoFixOnSave": true, | |
"editor.formatOnSave": true, | |
"vetur.completion.userScaffoldSnippets":false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment