forked from hashicorp/consul
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuf.yaml
27 lines (25 loc) · 847 Bytes
/
buf.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
version: v1
lint:
use:
- DEFAULT
allow_comment_ignores: true
except:
# we want to enable our Go packages to have a pb prefix to make goimports more
# intelligently handle fixing up imports and hopefully getting it right.
- PACKAGE_DIRECTORY_MATCH
# for internal protos we don't think we need proto versioning suffix for now
# also it would break the subscribe service if we change the proto package
- PACKAGE_VERSION_SUFFIX
# TODO - we should be able to remove these once we address the warnings
- FIELD_LOWER_SNAKE_CASE
- ENUM_VALUE_UPPER_SNAKE_CASE
- ENUM_ZERO_VALUE_SUFFIX
- ONEOF_LOWER_SNAKE_CASE
- ENUM_VALUE_PREFIX
service_suffix: ""
rpc_allow_google_protobuf_empty_responses: true
breaking:
use:
- FILE