rpc-pascal-case
What it does
Section titled “What it does”Reports an rpc name that is not PascalCase.
Why it matters
Section titled “Why it matters”The Protobuf style guide names rpcs in PascalCase, and the name becomes a method name in the generated client and server code.
To fix, rename the rpc.
Example
Section titled “Example”...}
... rpc bad_call(Good) returns (Good);}Configuration
Section titled “Configuration”protobuf: lint: rules: rpc-pascal-case: warn # off (default), warn, errorEnabled by the presets: protobuf/buf-standard.
Suppress one line with sudsy-disable-next-line rpc-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 | RPC_PASCAL_CASE |
full |