buf
Last updated
Last updated
is a linter for Protobuf.
buf is composed of several linter commands.
buf-format
only runs the reformatting, not lint checking.
You can enable the buf-format
linter with:
buf-lint
only runs the lint checking, not reformatting.
You can enable the buf-lint
linter with:
buf-breaking
only checks for breaking proto changes.
You can enable the buf-breaking
linter with:
buf will never be auto-enabled. It must be enabled manually.
buf supports the following config files:
buf.yaml
You can move these files to .trunk/configs
and trunk check
will still find them. See for more info.
buf Trunk Code Quality
Trunk Code Quality's