aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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" },
}