chore(proto): add buf config for codegen and lint

Relaxes STANDARD lint rules that conflict with the terse service
shape from ARCHITECTURE.md §7.2 (shared Empty, no Service suffix).
This commit is contained in:
pj committed 2026-04-17 22:26:23 +07:00
1 parent 8d5b32c10b
commit ee78371566
2 files changed
+25

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
version: v2
modules:
- path: proto
lint:
use:
- STANDARD
except:
- PACKAGE_DIRECTORY_MATCH
- SERVICE_SUFFIX
- RPC_REQUEST_STANDARD_NAME
- RPC_RESPONSE_STANDARD_NAME
- RPC_REQUEST_RESPONSE_UNIQUE
breaking:
use:
- FILE