From 203f1d59697dbeddb3f3f79930a3b8a93c826c6f Mon Sep 17 00:00:00 2001 From: Adrien Waksberg <git@waks.be> Date: Thu, 10 Apr 2025 16:42:16 +0200 Subject: [PATCH] feat: add biome linter --- lua/configs/conform.lua | 6 ++++-- lua/plugins/init.lua | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lua/configs/conform.lua b/lua/configs/conform.lua index fd91d97..dc9fefc 100644 --- a/lua/configs/conform.lua +++ b/lua/configs/conform.lua @@ -1,8 +1,10 @@ local options = { formatters_by_ft = { bash = { "shfmt" }, - css = { "prettier" }, - json = { "prettier" }, + css = { "biome" }, + json = { "biome" }, + javascript = { "biome" }, + typpescript = { "biome " }, go = { "goimports", "gofmt" }, html = { "prettier" }, lua = { "stylua" }, diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 20e5985..755d5cc 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -35,6 +35,7 @@ return { "markdownlint", "terraformls", "tflint", + "biome", }, }, },