forked from CredenceOrg/Credence-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf.yaml
More file actions
34 lines (31 loc) · 1.27 KB
/
Copy pathbuf.yaml
File metadata and controls
34 lines (31 loc) · 1.27 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
28
29
30
31
32
33
34
# buf.yaml — Buf CLI workspace configuration (v2)
# https://buf.build/docs/configuration/v2/buf-yaml
version: v2
# Modules define the proto roots that buf manages.
modules:
- path: proto
name: buf.build/credence/credence-backend
# ---------------------------------------------------------------------------
# Lint rules
# Enforce style and correctness across all proto files.
# https://buf.build/docs/lint/rules/
# ---------------------------------------------------------------------------
lint:
use:
# DEFAULT includes the full recommended rule set:
# MINIMAL + BASIC + DEFAULT categories.
# Covers: naming conventions, field presence, comment requirements,
# import hygiene, enum zero-value naming, and more.
- DEFAULT
# ---------------------------------------------------------------------------
# Breaking-change detection rules
# Checked in CI against the merge-base branch (origin/main).
# https://buf.build/docs/breaking/rules/
#
# FILE is the strictest category — it catches anything that would break
# wire compatibility, JSON compatibility, or generated source code at the
# per-file level. This is the recommended setting for internal services.
# ---------------------------------------------------------------------------
breaking:
use:
- FILE