Skip to content

Instantly share code, notes, and snippets.

@Pepeye
Created October 30, 2019 20:53
Show Gist options
  • Save Pepeye/cbb56b444316e6cd82d3dadd1e1e676d to your computer and use it in GitHub Desktop.
Save Pepeye/cbb56b444316e6cd82d3dadd1e1e676d to your computer and use it in GitHub Desktop.
VS Code settings - typescript, prettier, formatOnSave
"editor.formatOnSave": true,
"[javascript]": {
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnSave": false
},
"[typescriptreact]": {
"editor.formatOnSave": false
},
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment