From b47a56d57a6a5c5eeba54558f95533fed2472ace Mon Sep 17 00:00:00 2001 From: Carlos Scheidegger Date: Wed, 22 May 2024 08:19:04 -0700 Subject: [PATCH] vscode - autoformat ts code on save --- .vscode/settings.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 6b385d83..15988045 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,8 @@ { + "[typescript]": { + "editor.defaultFormatter": "vscode.typescript-language-features", + "editor.formatOnSave": true + }, "typescript.tsdk": "node_modules/typescript/lib", "editor.tabSize": 2 } \ No newline at end of file