service-pascal-case
What it does
Section titled “What it does”Reports a service name that is not PascalCase.
Why it matters
Section titled “Why it matters”The Protobuf style guide names services in PascalCase, and the name becomes a class name in the generated code.
To fix, rename the service.
Example
Section titled “Example”...}
service bad_service {...}Configuration
Section titled “Configuration”protobuf: lint: rules: service-pascal-case: warn # off (default), warn, errorEnabled by the presets: protobuf/buf-standard.
Suppress one line with sudsy-disable-next-line service-pascal-case in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools; Sudsy reports what each upstream rule reports.
| Tool | Rule | Match |
|---|---|---|
| buf | SERVICE_PASCAL_CASE |
full |