blob: 9a4b776c96ed35a64a28659049ff46be8e4b3285 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://buf.build/docs/reference/cli/buf/format",
description = "A new way of working with Protocol Buffers",
},
command = "buf",
args = { "format", "-w", "$FILENAME" },
stdin = false,
cwd = require("conform.util").root_file({ "buf.yaml" }),
}
|