-
-
Save lucasjlatour/777dd60f20df310a91233e86d60d66b7 to your computer and use it in GitHub Desktop.
Workspace / Settings examples for VSCode IDE
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
Show hidden characters
{ | |
"folders": [ | |
{ | |
"name": "Health Worker Logger", | |
"path": ".", | |
} | |
], | |
"extensions": { | |
"recommendations": [ | |
"msjsdiag.debugger-for-chrome", | |
"dbaeumer.vscode-eslint", | |
"github.vscode-pull-request-github", | |
"eamodio.gitlens", | |
"visualstudioexptteam.vscodeintellicode", | |
"davidanson.vscode-markdownlint", | |
"googlecloudtools.cloudcode", | |
"editorconfig.editorconfig", | |
"pkief.material-icon-theme" | |
] | |
}, | |
"settings": { | |
"editor.tabSize": 2, | |
"editor.fontSize": 16, | |
"debug.console.fontSize": 14, | |
"terminal.integrated.fontSize": 14, | |
"editor.detectIndentation": false, | |
"editor.defaultFormatter": "dbaeumer.vscode-eslint", | |
"editor.formatOnSave": false, | |
"eslint.validate": [ | |
"typescript", | |
"typescriptreact", | |
"javascript", | |
"javascriptreact" | |
], | |
"eslint.enable": true, | |
"eslint.packageManager": "yarn", | |
"eslint.run": "onType", | |
"editor.codeActionsOnSave": { | |
// Notes on configuring eslint: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint | |
"source.fixAll.eslint": true, | |
}, | |
"[javascript]": { | |
// "editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
}, | |
}, | |
"[javascriptreact]": { | |
"editor.defaultFormatter": "dbaeumer.vscode-eslint", | |
"editor.formatOnSave": true, | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
} | |
}, | |
"[typescript]": { | |
// "editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnSave": false, // IMPORTANT! Only ESLint should be formatting to fix linting issues | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true, | |
} | |
}, | |
"[typescriptreact]": { | |
// "editor.defaultFormatter": "esbenp.prettier-vscode", | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment