api-linter
api-linter copied to clipboard
API Linter suggests nonsensical abbreviation "INFOAL" for enum "INFORMATIONAL"
Environment details
- Programming language: protobuf
- OS: any
- Language runtime version: n/a
- Package version: n/a
Steps to reproduce
- Define protobuf enum something like this:
enum MyStatus { MY_STATUS_UNSPECIFIED = 0; SKIPPED = 1; INFORMATIONAL = 2; }
- Run api linter, which then says:
WARNING:my_status.proto: (lint) naming-name-abbreviation: Use of full names for common abbreviations is not recommended. Use 'INFOAL' instead of 'INFORMATIONAL'.