github.com/yoheimuta/protolint@v0.49.8-0.20240515023657-4ecaebb7575d/_testdata/rules/enumNamesUpperCamelCase/disable_next.proto (about) 1 syntax = "proto3"; 2 3 // protolint:disable:next ENUM_NAMES_UPPER_CAMEL_CASE 4 enum enum { 5 option allow_alias = true; 6 UNKNOWN = 0; 7 STARTED = 1; 8 RUNNING = 2 [(custom_option) = "hello world"]; 9 } 10 11 // protolint:disable:next ENUM_NAMES_UPPER_CAMEL_CASE 12 enum Enum_allowing_alias { 13 option allow_alias = true; 14 UNKNOWN = 0; 15 STARTED = 1; 16 RUNNING = 2 [(custom_option) = "hello world"]; 17 } 18 19 // protolint:disable:next ENUM_NAMES_UPPER_CAMEL_CASE 20 enum enumAllowing { 21 option allow_alias = true; 22 UNKNOWN = 0; 23 STARTED = 1; 24 RUNNING = 2 [(custom_option) = "hello world"]; 25 }