forked from rerun-io/rerun
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf.yaml
More file actions
27 lines (26 loc) · 1.26 KB
/
buf.yaml
File metadata and controls
27 lines (26 loc) · 1.26 KB
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
# Config for <https://buf.build>.
#
# This is intentionally put at the root of the repository rather than specifically in the proto folder because:
# A) It makes working with all the `buf` tooling much nicer for users of the codebase.
# B) We don't know how the way we store our proto files will evolve.
# This is worth a bit of root pollution.
#
# For details on buf.yaml configuration, visit <https://buf.build/docs/configuration/v2/buf-yaml>.
version: v2
lint:
use:
- STANDARD
except:
- DIRECTORY_SAME_PACKAGE # We just don't really care right now.
- PACKAGE_DIRECTORY_MATCH # We just don't really care right now.
# - RPC_REQUEST_RESPONSE_UNIQUE
enum_zero_value_suffix: _UNSPECIFIED # see <https://buf.build/docs/lint/rules/?h=enum_zero_value#enum_zero_value_suffix>
breaking:
use:
- WIRE_JSON # We don't care about source-code breaks, we have a compiler for that.
- FILE_NO_DELETE # Otherwise removing entire files won't trigger anything, which is very misleading.
# All our packages are considered unstable right now since everything's tagged vNalphaM
# See <https://buf.build/docs/configuration/v1/buf-yaml/?h=ignore_unstable_packages#ignore_unstable_packages>.
ignore_unstable_packages: false
modules:
- path: crates/store/re_protos/proto