The open source coding agent.
TypeScript
fix(formatter): use biome `check` instead of `format` to include import sorting (#8057)
Andrew Pashynnyk9c69c1de9fb8
diff --git a/packages/opencode/src/format/formatter.ts b/packages/opencode/src/format/formatter.tsindex 9e3db92df53..667a954c034 100644--- a/packages/opencode/src/format/formatter.ts+++ b/packages/opencode/src/format/formatter.ts@@ -96,7 +96,7 @@ export const oxfmt: Info = {export const biome: Info = {name: "biome",- command: [BunProc.which(), "x", "@biomejs/biome", "format", "--write", "$FILE"],+ command: [BunProc.which(), "x", "@biomejs/biome", "check", "--write", "$FILE"],environment: {BUN_BE_BUN: "1",},