protolint
protolint copied to clipboard
Feature: unused imports lint/fixer
I am getting a warning from protoc but not from the linter (using the vscode extension).
For example:
warning: Import google/protobuf/wrappers.proto but not used.
@tzachshabtay Thank you for your suggestion. It sounds useful. I attached the label to this issue for starters.
Agree with @tzachshabtay. It would also be useful to identify unused imports
(or unused messages
in the case where all .proto
files across the org are available in a central repo).