EasyP

Field Lower Snake Case

Categories:

  • MINIMAL
  • BASIC
  • DEFAULT

This rule checks that field names of messages are in lower_snake_case.

Examples

Bad

syntax = "proto3";

package foo;

message Foo {
    string BarName = 1;
}

Good

syntax = "proto3";

package foo;

message Foo {
    string bar_name = 1;
}

On this page