From c3dfd08ba8c0378398b598b676c4664b98dd28de Mon Sep 17 00:00:00 2001 From: Burak Yigit Kaya Date: Thu, 2 Apr 2026 16:52:52 +0100 Subject: [PATCH] fix(format): use biome format instead of check to prevent import removal (#20545) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> --- packages/opencode/src/format/formatter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/format/formatter.ts b/packages/opencode/src/format/formatter.ts index 9051cecde2..51a54273fd 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", },