Skip to content

Instantly share code, notes, and snippets.

@hugh-hoang
Created November 30, 2018 03:36
Show Gist options
  • Save hugh-hoang/c5a1a570d62ed1802befee965809b16e to your computer and use it in GitHub Desktop.
Save hugh-hoang/c5a1a570d62ed1802befee965809b16e to your computer and use it in GitHub Desktop.
"files.associations": {
"*.vue": "html"
},
"editor.formatOnSave": true,
// Defines space handling before function argument parentheses. Requires TypeScript >= 2.1.5.
"typescript.format.insertSpaceBeforeFunctionParenthesis": true,
// Defines space handling before function argument parentheses. Requires TypeScript >= 2.1.5.
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
// Eslint options
"eslint.enable": true,
"eslint.options": {
"extensions": [
".html",
".js",
".vue",
".jsx"
]
},
// An array of language ids which should be validated by ESLint
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "html",
"autoFix": true
}
],
// Run the linter on save (onSave) or on type (onType)
"eslint.run": "onSave",
// Turns auto fix on save on or off.
"eslint.autoFixOnSave": true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment