yoheimuta / protolint

A pluggable linter and fixer to enforce Protocol Buffer style and conventions.
MIT License
555 stars 51 forks source link

Configuring severity does not work for MaxLineLengthRule #419

Closed profhenry closed 2 months ago

profhenry commented 2 months ago

The MaxLineLengthRule is the only rule where configuring the severity does not work :-/.

This is because it is the only rule which still uses the old constructor method without passing the severity when creating the failure object.

profhenry commented 2 months ago

Thanks for merging and also publishing 0.50.3 to maven central.