buf
buf copied to clipboard
WIP: add comments_exclude_request_responses lint configuration
Starts work on https://github.com/bufbuild/buf/issues/1107.
This option needs to be fed through to buflintbuild
into a common "comment adapter" that takes this option into account. If this option is set, any type being linted should not produce a lint error if it is a request or response type. This can be determined by first calling protosource.RequestResponseMessageFullNames
at the top level. See buflintbuild.EnumZeroValueSuffix
as an example of a lint rule that takes a configuration option.
This can be picked up as an onboarding task for someone who will be working on the CLI.