1 Star 0 Fork 0

NovemberRain/teleport

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
buf-legacy.yaml 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
Alan Parra 提交于 2024-05-21 18:27 . Reinstate Buf config v2 (#41855)
# buf-legacy.yaml is used so we can apply tighter settings to legacy protos.
# This should be used exclusively to lint legacy protos, all other actions
# should use the default buf.yaml file.
version: v2
modules:
- path: api/proto
deps:
# gogo/protobuf v1.3.2, keep in sync with build.assets/versions.mk.
- buf.build/gogo/protobuf:b03c65ea87cdc3521ede29f62fe3ce239267c1bc
- buf.build/googleapis/googleapis:beb34b4050abfcfff72ff5cc6a28f0afa4043ce0
lint:
use:
- DEFAULT
- PACKAGE_NO_IMPORT_CYCLE
# Top-level types require comments.
# TODO(codingllama): Fix messages and enable linters below.
# - COMMENT_ENUM
# - COMMENT_MESSAGE
- COMMENT_RPC
- COMMENT_SERVICE
except:
# MINIMAL
- PACKAGE_DIRECTORY_MATCH
# BASIC
- ENUM_VALUE_UPPER_SNAKE_CASE
- FIELD_LOWER_SNAKE_CASE
- ONEOF_LOWER_SNAKE_CASE
# DEFAULT
- ENUM_VALUE_PREFIX
- ENUM_ZERO_VALUE_SUFFIX
- PACKAGE_VERSION_SUFFIX
- RPC_REQUEST_RESPONSE_UNIQUE
- RPC_REQUEST_STANDARD_NAME
- RPC_RESPONSE_STANDARD_NAME
breaking:
use:
- "buf-legacy.yaml should not be used for buf breaking"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cucy/teleport.git
git@gitee.com:cucy/teleport.git
cucy
teleport
teleport
master

搜索帮助