What is protolint
masterprotolint is a pluggable linting and fixing utility for Protocol Buffer files (supporting both proto2 and proto3). It is designed to be fast by operating without a compiler and provides a direct mapping to the official Protocol Buffer style guide.
Key features include:
- Automatic Fixing: A fixer that automatically corrects violations of the official style guide.
- Rule Disabling: Ability to disable specific rules using comments within
.protofiles, which is useful for maintaining API compatibility. - Extensibility: Supports loading plugins for custom lint rules.
- Integrations: Supports
protocplugin, editor integrations, GitHub Actions, and CI environments.