diff --git a/.vscode/settings.json b/.vscode/settings.json index 1630fab4..8b596d23 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,12 +2,13 @@ "typescript.tsdk": "node_modules/typescript/lib", "biome.configPath": "./biome.jsonc", "editor.defaultFormatter": "biomejs.biome", - "editor.formatOnSave": true, + "editor.formatOnSave": false, "editor.formatOnPaste": true, "emmet.showExpandedAbbreviation": "never", "editor.codeActionsOnSave": { - "source.fixAll.biome": "explicit", - "source.organizeImports.biome": "explicit", + "source.fixAll.biome": "always", + "quickfix.biome": "always", + "source.organizeImports.biome": "always", "source.organizeImports": "never" }, "[typescript]": { diff --git a/biome.jsonc b/biome.jsonc index a9ed91cb..26d8b8cf 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -65,7 +65,10 @@ "correctness": { "noUnusedVariables": "off", "noUnusedFunctionParameters": "off", - "noUnusedImports": "error", + "noUnusedImports": { + "level": "warn", + "fix": "safe" + }, "useExhaustiveDependencies": "info", "noPrecisionLoss": "off" },