aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/biome.lua
diff options
context:
space:
mode:
authorpseudometa <73286100+chrisgrieser@users.noreply.github.com>2023-10-06 18:45:14 +0200
committerGitHub <noreply@github.com>2023-10-06 09:45:14 -0700
commite5ed0635d9aa66c6c2f7eac3235e6a8eb2de0653 (patch)
treeda0621251a55ade7d47d8e7b7a871d500c03ad0b /lua/conform/formatters/biome.lua
parentba1ca20bb5f89a8bdd94b268411263275550843a (diff)
fix(biome): do not use stdin due to biome bug (#120)
Diffstat (limited to 'lua/conform/formatters/biome.lua')
-rw-r--r--lua/conform/formatters/biome.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/lua/conform/formatters/biome.lua b/lua/conform/formatters/biome.lua
index f6d6ae8..3fb0c08 100644
--- a/lua/conform/formatters/biome.lua
+++ b/lua/conform/formatters/biome.lua
@@ -5,6 +5,10 @@ return {
description = "A toolchain for web projects, aimed to provide functionalities to maintain them.",
},
command = "biome",
- stdin = true,
- args = { "format", "--stdin-file-path", "$FILENAME" },
+
+ -- pending this bug, do not use stdin: https://github.com/biomejs/biome/issues/455
+ stdin = false,
+ args = { "format", "--write", "$FILENAME" },
+ -- stdin = true,
+ -- args = { "format", "--stdin-file-path", "$FILENAME" },
}