Enforce file formatting when a file is saved
This will help ensure consistency across the codebase and remove unnecessary conflicts between different versions of the file. Signed-off-by: Remy Suen <remy.suen@docker.com>
This commit is contained in:
parent
721ffb279d
commit
7a6e7e2bfb
|
@ -1,5 +1,13 @@
|
|||
// Place your settings in this file to overwrite default and user settings.
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"[typescriptreact]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
"typescript.updateImportsOnFileMove.enabled": "always",
|
||||
"files.exclude": {
|
||||
"out": false, // set this to true to hide the "out" folder with the compiled JS files
|
||||
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
|
||||
|
|
Loading…
Reference in New Issue