buf-plugin-field-lower-snake-case

command
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package main implements a simple plugin that checks that all field names are lower_snake_case.

To use this plugin:

# buf.yaml
version: v2
lint:
  use:
   - STANDARD # omit if you do not want to use the rules builtin to buf
   - PLUGIN_FIELD_LOWER_SNAKE_CASE
plugins:
  - plugin: buf-plugin-field-lower-snake-case

Note that the buf CLI implements this check as a builtin Rule, but this is just for example.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL