Skip to content

Is there a way to add custom buf plugins to buf_lint_test? #102

@rmm-stripe

Description

@rmm-stripe

Hello! I saw that buf supports custom plugins. I'm curious to find out if there is a way to write a custom plugin so that it can be run as a part of the buf_lint_test bazel rule. As in, I can write the plugin, include it in my config buf.yaml file and have the buf_lint_test run it.

Looking at buf_lint_test's atrributes, I was assuming that there would need to be some sort of way for me to pass a dependency on a binary that holds the logic for my custom plugin, but I don't see that reflected in any of the attributes. Wondering if there is a paved path for this already?

If this doesn't exist, would it be complicated to add?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions