Skip to content

Instantly share code, notes, and snippets.

@negamaxi
Last active December 23, 2020 07:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save negamaxi/8f776fc70858693df19b189a40b0e000 to your computer and use it in GitHub Desktop.
Save negamaxi/8f776fc70858693df19b189a40b0e000 to your computer and use it in GitHub Desktop.
VSCode settings for CRA projects
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
// ^ Prettier will format files on save.
"editor.codeActionsOnSave": {
"source.fixAll": true
},
// ^ ESLint will fix possible issues on save.
// "javascript.validate.enable": false
// ^ VSCode will not show errors for js files with Flow type annotations.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment