Created
August 30, 2020 14:59
-
-
Save uchilaka/04d2b8e268374a4b6ceeb8471972311d 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