Back to Teleport

`buf-plugin-linters`

build.assets/tooling/cmd/buf-plugin-linters/README.md

19.0.1-dev604 B
Original Source

buf-plugin-linters

buf-plugin-linters is a buf1 plugin for linting .proto files for APIs that should confirm to Teleport resource guidelines for pagination2.

Usage

To enable the plugin in buf.yaml:

yaml
version: v2

lint:
  use:
    - PAGINATION_REQUIRED
plugins:
  - plugin:
      - env
      - GOWORK=off
      - go
      - -C
      - ./build.assets/tooling
      - run
      - ./cmd/buf-plugin-linters

See default.go for the default configuration.