version: v2 modules: - path: rpc/flipt name: buf.build/flipt-io/flipt - path: rpc/v2 name: buf.build/flipt-io/v2 deps: - buf.build/googleapis/googleapis - buf.build/grpc-ecosystem/grpc-gateway - buf.build/gnostic/gnostic lint: use: - STANDARD except: - ENUM_VALUE_PREFIX - ENUM_ZERO_VALUE_SUFFIX - FIELD_NOT_REQUIRED - PACKAGE_DIRECTORY_MATCH - PACKAGE_NO_IMPORT_CYCLE - PACKAGE_VERSION_SUFFIX - RPC_REQUEST_RESPONSE_UNIQUE - RPC_REQUEST_STANDARD_NAME - RPC_RESPONSE_STANDARD_NAME - SERVICE_SUFFIX disallow_comment_ignores: true ignore_only: # environments.proto imports core/core.proto solely so the OpenAPI generator # (protoc-gen-flipt-openapi) has the Flag/Segment descriptors in the protoc # request; the types are not referenced by the proto itself. IMPORT_USED: - rpc/v2/environments/environments.proto breaking: use: - FILE except: - EXTENSION_NO_DELETE - FIELD_SAME_DEFAULT