api-linter icon indicating copy to clipboard operation
api-linter copied to clipboard

API Linter suggests nonsensical abbreviation "INFOAL" for enum "INFORMATIONAL"

Open slacy opened this issue 3 years ago • 0 comments

Environment details

  • Programming language: protobuf
  • OS: any
  • Language runtime version: n/a
  • Package version: n/a

Steps to reproduce

  1. Define protobuf enum something like this:

enum MyStatus { MY_STATUS_UNSPECIFIED = 0; SKIPPED = 1; INFORMATIONAL = 2; }

  1. 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'.

slacy avatar May 31 '22 19:05 slacy