Skip to content

Commit

Permalink
fix: set a cwd for biome (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
azzamsa committed Jan 29, 2024
1 parent d99b75b commit 03feeb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/conform/formatters/biome.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ return {
command = util.from_node_modules("biome"),
stdin = true,
args = { "format", "--stdin-file-path", "$FILENAME" },
cwd = util.root_file({
"biome.json",
}),
}

0 comments on commit 03feeb5

Please sign in to comment.