From 7a6e7e2bfbc62589cdd3a32bcb722bbb343fb008 Mon Sep 17 00:00:00 2001 From: Remy Suen Date: Thu, 20 Mar 2025 11:35:41 -0400 Subject: [PATCH] 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 --- .vscode/settings.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 16a5c02..bb5e56a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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