From 3cd1135cb2978c9d45b8dc6afc80045fb8a93157 Mon Sep 17 00:00:00 2001 From: ton1517 Date: Tue, 7 May 2024 02:48:31 +0900 Subject: fix(biome): support biome.jsonc file (#394) --- lua/conform/formatters/biome-check.lua | 1 + lua/conform/formatters/biome.lua | 1 + 2 files changed, 2 insertions(+) (limited to 'lua/conform') diff --git a/lua/conform/formatters/biome-check.lua b/lua/conform/formatters/biome-check.lua index 7115903..5033cc3 100644 --- a/lua/conform/formatters/biome-check.lua +++ b/lua/conform/formatters/biome-check.lua @@ -10,5 +10,6 @@ return { args = { "check", "--apply", "--stdin-file-path", "$FILENAME" }, cwd = util.root_file({ "biome.json", + "biome.jsonc", }), } diff --git a/lua/conform/formatters/biome.lua b/lua/conform/formatters/biome.lua index 1d37c1c..99af89e 100644 --- a/lua/conform/formatters/biome.lua +++ b/lua/conform/formatters/biome.lua @@ -10,5 +10,6 @@ return { args = { "format", "--stdin-file-path", "$FILENAME" }, cwd = util.root_file({ "biome.json", + "biome.jsonc", }), } -- cgit v1.2.3-70-g09d2