summaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/biome.lua
blob: 495c284edae5dd80a8bc0f13517e9f11406ff5aa (plain)
1
2
3
4
5
6
7
8
9
10
11
local util = require("conform.util")
---@type conform.FileFormatterConfig
return {
  meta = {
    url = "https://github.com/biomejs/biome",
    description = "A toolchain for web projects, aimed to provide functionalities to maintain them.",
  },
  command = util.from_node_modules("biome"),
  stdin = true,
  args = { "format", "--stdin-file-path", "$FILENAME" },
}