Skip to content

Instantly share code, notes, and snippets.

@codegenin
Last active December 21, 2018 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codegenin/f648710ee11e6f2c8cf65c5289c8acdf to your computer and use it in GitHub Desktop.
Save codegenin/f648710ee11e6f2c8cf65c5289c8acdf to your computer and use it in GitHub Desktop.
VSCode VueJs Initial Project Settings
### 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