Skip to content

The open source coding agent.

TypeScript

fix(format): use biome format instead of check to prevent import removal (#20545)

Burak Yigit Kayac3dfd08ba8c0
diff --git a/packages/opencode/src/format/formatter.ts b/packages/opencode/src/format/formatter.ts
index 9051cecde24..51a54273fd2 100644
--- a/packages/opencode/src/format/formatter.ts
+++ b/packages/opencode/src/format/formatter.ts
@@ -103,7 +103,7 @@ export const oxfmt: Info = {
export const biome: Info = {
name: "biome",
- command: ["bun", "x", "@biomejs/biome", "check", "--write", "$FILE"],
+ command: ["bun", "x", "@biomejs/biome", "format", "--write", "$FILE"],
environment: {
BUN_BE_BUN: "1",
},