-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf.yaml
More file actions
35 lines (32 loc) · 1017 Bytes
/
buf.yaml
File metadata and controls
35 lines (32 loc) · 1017 Bytes
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
28
29
30
31
32
33
34
35
version: v1beta1
build:
# More info: https://docs.buf.build/build-configuration/#roots
roots:
- api
# More info: https://docs.buf.build/lint-overview/
# For simplification purposes you can use the following config:
# lint:
# use:
# - MINIMAL
# except:
# - PACKAGE_DIRECTORY_MATCH
# ignore:
# - github.com
lint:
use:
- PACKAGE_AFFINITY # checks that you defined packages and options correctly
- PACKAGE_SAME_DIRECTORY # checks that all files with a given package are in the same directory
- DIRECTORY_SAME_PACKAGE # checks that all files in a given directory are in the same package
- SENSIBLE # checks minimal required security in modern Protobuf
except:
- PACKAGE_DIRECTORY_MATCH
rpc_allow_same_request_response: false
rpc_allow_google_protobuf_empty_requests: true
rpc_allow_google_protobuf_empty_responses: true
# More info: https://docs.buf.build/breaking-overview/
breaking:
use:
- FILE
ignore:
- github.com
ignore_unstable_packages: true