Browse Source

fix(formatter): use biome `check` instead of `format` to include import sorting (#8057)

Co-authored-by: kynnyhsap <[email protected]>
Andrew Pashynnyk 1 month ago
parent
commit
9c69c1de9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/opencode/src/format/formatter.ts

+ 1 - 1
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",
   },