bufbuild / rules_buf

Bazel rules for Buf.
Apache License 2.0
45 stars 17 forks source link

Print violated lint rule name #19

Closed aryeh-looker closed 10 months ago

aryeh-looker commented 2 years ago

When a lint rule is violated, it can be time consuming to figure out its corresponding name at https://docs.buf.build/lint/rules. It would be helpful if the rule name were printed (e.g. if a team wants to disable).

srikrsna-buf commented 2 years ago

Hi @aryeh-looker

Thank you for the feedback, there is actually a way to print the lint configuration needed to silent the errors when running buf lint using the --error-format flag. We should add that to Bazel rules as well. Expect a PR soon.