buf
buf copied to clipboard
Add `COMMENT_RESERVED` lint rule
Feature
It would be nice to have a lint rule that enforces that all reserved declarations have comments attached, e.g.
message Foo {
// Previously used for deprecated feature, bar_id
reserved 2;
}
This could also be a part of a check plugin that provides additional checks for handling deprecation in protos.