Skip to content

Instantly share code, notes, and snippets.

@emersxw
Created April 1, 2020 02:13
Show Gist options
  • Save emersxw/7a1f2241be3a68d3a121ef6c6b79eeb6 to your computer and use it in GitHub Desktop.
Save emersxw/7a1f2241be3a68d3a121ef6c6b79eeb6 to your computer and use it in GitHub Desktop.
// {
// "eslint.codeActionsOnSave": true,
// "eslint.validade": [
// "javascript",
// "javascriptreact",
// {"language": "typescript", "autoFix": true},
// {"language": "typescriptreact", "autoFix": true}
// ]
// }
{
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment