Skip to content

Instantly share code, notes, and snippets.

@chidindu-ogbonna
Created October 4, 2019 06:27
Show Gist options
  • Save chidindu-ogbonna/db48a5168a6b0ece84efa2c8c98d191d to your computer and use it in GitHub Desktop.
Save chidindu-ogbonna/db48a5168a6b0ece84efa2c8c98d191d to your computer and use it in GitHub Desktop.
VSCode settings for using Eslint and Nuxt in your project.
{
// Install the Eslint plugin
// Install the Vetur plugin
// Disable the Prettier plugin for this workspace.
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatter.html": "js-beautify-html",
"eslint.packageManager": "yarn",
"eslint.autoFixOnSave": true,
"eslint.validate": [
{
"language": "javascript",
"autoFix": true
},
{
"language": "javascriptreact",
"autoFix": true
},
{
"language": "vue",
"autoFix": true
}
],
"editor.formatOnSave": false,
"vetur.validation.template": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment