From 78b47e3ebda0068cf13a6e806043fc46d01dcd6c Mon Sep 17 00:00:00 2001 From: Bee <68532117+abeatrix@users.noreply.github.com> Date: Tue, 9 Sep 2025 15:47:01 -0700 Subject: [PATCH] dev: Configure auto-fix and import organization on save in VSCode (#6109) * dev: Configure auto-fix and import organization on save in VSCode Add editor.codeActionsOnSave settings to automatically fix linting issues, remove unused imports, and organize imports using Biome when saving files. * biome specific --- .vscode/settings.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index cb454511..30709fae 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -21,5 +21,11 @@ }, // Enable Lint and format using Biome "biome.enabled": true, - "editor.defaultFormatter": "biomejs.biome" + "editor.defaultFormatter": "biomejs.biome", + "editor.codeActionsOnSave": { + "source.fixAll.biome": "explicit", + "source.removeUnused.biome": "always", + "source.removeUnusedImports": "always", + "source.organizeImports.biome": "always" + } }