Replace clang-format with buf format in proto-format #3651
Labels
needs discussion
Issues that need discussion before they can be worked on
protobuf
Proto file definitions and protobuf code generation
Summary
For formatting proto files, we currently use
clang-format
. Afaik, this was inherited from the sdk with #2672. Alternatively, we could consider usingbuf
which is already used in the Makefile for theproto-lint
andproto-check-breaking
rules.See #3640 (comment) for some context on why this issue was opened.
Pros
clang-format
is a pretty popular binary) be present.Cons
Here's a sample diff from formatting
client.proto
with buf:For Admin Use
The text was updated successfully, but these errors were encountered: