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:
Remy Suen 2025-03-20 11:35:41 -04:00
parent 721ffb279d
commit 7a6e7e2bfb
1 changed files with 8 additions and 0 deletions

View File

@ -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