diff options
| author | Andrew Pashynnyk <[email protected]> | 2026-01-12 23:21:38 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-12 15:21:38 -0600 |
| commit | 9c69c1de9fb8b05f212a923d7c1c4017590aef70 (patch) | |
| tree | e6717a67d1b89a7cbd75f36758d4a7db951cba1a | |
| parent | 735f3d17bc836e4b0905d1094794699c45a99804 (diff) | |
| download | opencode-9c69c1de9fb8b05f212a923d7c1c4017590aef70.tar.gz opencode-9c69c1de9fb8b05f212a923d7c1c4017590aef70.zip | |
fix(formatter): use biome `check` instead of `format` to include import sorting (#8057)
Co-authored-by: kynnyhsap <[email protected]>
| -rw-r--r-- | packages/opencode/src/format/formatter.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/format/formatter.ts b/packages/opencode/src/format/formatter.ts index 9e3db92df..667a954c0 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", }, |
