buf is a linter for Protobuf. buf is composed of several linter commands.Documentation Index
Fetch the complete documentation index at: https://trunk-4cab4936-sam-gutentag-flaky-tests-new-monitors.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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:
Auto Enabling
buf will never be auto-enabled. It must be enabled manually.Settings
buf supports the following config files:buf.yaml
.trunk/configs and trunk check will still find them. See Moving Linters for more info.
Links
- buf site
- buf Trunk Code Quality integration source
- Trunk Code Quality’s open source plugins repo