Created
October 8, 2020 17:17
-
-
Save colinlord/a6ddac3ea4f0b768ef3e06883f45977d to your computer and use it in GitHub Desktop.
My default vscode settings
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
// place in root of project as .vscode/settings.json | |
{ | |
"workbench.colorCustomizations": { | |
"titleBar.activeForeground": "#fff", | |
"titleBar.inactiveForeground": "#000000CC", | |
"titleBar.activeBackground": "#F40009", | |
"titleBar.inactiveBackground": "#F40009CC" | |
}, | |
// auto-save configs | |
"editor.formatOnSave": true, | |
// turn it off for JS and JSX, we will do this via eslint | |
"[javascript]": { | |
"editor.formatOnSave": false | |
}, | |
"[javascriptreact]": { | |
"editor.formatOnSave": false | |
}, | |
// tell the ESLint plugin to run on save | |
"editor.codeActionsOnSave": { | |
"source.fixAll": true | |
}, | |
// disable prettier for JS since we are doing it through Eslint already | |
"prettier.disableLanguages": ["javascript", "javascriptreact"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment