Created
November 30, 2018 03:36
-
-
Save hugh-hoang/c5a1a570d62ed1802befee965809b16e to your computer and use it in GitHub Desktop.
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
"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