diff options
author | Azzam S.A <17734314+azzamsa@users.noreply.github.com> | 2024-01-29 09:02:30 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-28 18:02:30 -0800 |
commit | 03feeb5024a4b44754d63dec55b79b8133a8ea9f (patch) | |
tree | 6628faee6a2b49f2a0fb42b342039bbb5c51d36a /lua | |
parent | d99b75b4aedf0e912f41c5740a7267de739cddac (diff) |
fix: set a cwd for biome (#282)
Diffstat (limited to 'lua')
-rw-r--r-- | lua/conform/formatters/biome.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/conform/formatters/biome.lua b/lua/conform/formatters/biome.lua index 495c284..1d37c1c 100644 --- a/lua/conform/formatters/biome.lua +++ b/lua/conform/formatters/biome.lua @@ -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", + }), } |