build:
  roots:
    - internal/proto/local
    - internal/proto/third_party

lint:
  use:
    - DEFAULT
  ignore:
    - protoc-gen-openapiv2
    - google
  ignore_only:
    # These api enums break these lint checks in order to appear nice in swagger.
    ENUM_VALUE_PREFIX:
      - controller/api/view/v1/view.proto
    ENUM_ZERO_VALUE_SUFFIX:
      - controller/api/view/v1/view.proto
    FIELD_LOWER_SNAKE_CASE:
      - controller/api/v1/error.proto
      - controller/custom_options/v1/testing.proto
