-
Notifications
You must be signed in to change notification settings - Fork 74
/
buf.yaml
141 lines (141 loc) · 4.01 KB
/
buf.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
version: v2
modules:
- path: .
excludes:
- bindings
lint:
use:
- STANDARD
except:
- FIELD_NOT_REQUIRED
- PACKAGE_NO_IMPORT_CYCLE
- PACKAGE_VERSION_SUFFIX
ignore:
- google
# IMPORTANT: the following rules are ignored due to *existing* proto files.
# Please DO NOT add new files to this list unless strictly necessary.
ignore_only:
DIRECTORY_SAME_PACKAGE:
- msp/identities.proto
- msp/msp_config.proto
- msp/msp_principal.proto
ENUM_VALUE_PREFIX:
- common/common.proto
- common/policies.proto
- gossip/message.proto
- ledger/rwset/rwset.proto
- msp/msp_principal.proto
- orderer/ab.proto
- peer/chaincode.proto
- peer/chaincode_shim.proto
- peer/transaction.proto
ENUM_ZERO_VALUE_SUFFIX:
- common/common.proto
- common/policies.proto
- gossip/message.proto
- ledger/rwset/rwset.proto
- msp/msp_principal.proto
- orderer/ab.proto
- orderer/configuration.proto
- peer/chaincode.proto
- peer/chaincode_shim.proto
- peer/transaction.proto
FIELD_LOWER_SNAKE_CASE:
- common/ledger.proto
- gossip/message.proto
- peer/chaincode_shim.proto
- peer/lifecycle/db.proto
- peer/proposal.proto
- peer/transaction.proto
ONEOF_LOWER_SNAKE_CASE:
- common/policies.proto
- orderer/ab.proto
- orderer/blockattestation.proto
- peer/events.proto
- peer/lifecycle/db.proto
- peer/lifecycle/lifecycle.proto
- peer/policy.proto
PACKAGE_DIRECTORY_MATCH:
- ledger/queryresult/kv_query_result.proto
- ledger/rwset/kvrwset/kv_rwset.proto
- ledger/rwset/rwset.proto
- msp/msp_principal.proto
- orderer/etcdraft/configuration.proto
- orderer/etcdraft/metadata.proto
- peer/chaincode.proto
- peer/chaincode_event.proto
- peer/chaincode_shim.proto
- peer/collection.proto
- peer/configuration.proto
- peer/events.proto
- peer/lifecycle/chaincode_definition.proto
- peer/lifecycle/db.proto
- peer/lifecycle/lifecycle.proto
- peer/peer.proto
- peer/policy.proto
- peer/proposal.proto
- peer/proposal_response.proto
- peer/query.proto
- peer/resources.proto
- peer/signed_cc_dep_spec.proto
- peer/snapshot.proto
- peer/transaction.proto
PACKAGE_SAME_DIRECTORY:
- common/collection.proto
- common/common.proto
- common/configtx.proto
- common/configuration.proto
- common/ledger.proto
- common/policies.proto
- msp/msp_principal.proto
PACKAGE_SAME_GO_PACKAGE:
- common/collection.proto
- common/common.proto
- common/configtx.proto
- common/configuration.proto
- common/ledger.proto
- common/policies.proto
- msp/msp_principal.proto
RPC_REQUEST_RESPONSE_UNIQUE:
- gossip/message.proto
- orderer/ab.proto
- orderer/blockattestation.proto
- peer/chaincode_shim.proto
- peer/events.proto
- peer/snapshot.proto
RPC_REQUEST_STANDARD_NAME:
- discovery/protocol.proto
- gateway/gateway.proto
- gossip/message.proto
- orderer/ab.proto
- orderer/blockattestation.proto
- peer/chaincode_shim.proto
- peer/events.proto
- peer/peer.proto
- peer/snapshot.proto
RPC_RESPONSE_STANDARD_NAME:
- discovery/protocol.proto
- gossip/message.proto
- orderer/blockattestation.proto
- peer/chaincode_shim.proto
- peer/events.proto
- peer/peer.proto
- peer/snapshot.proto
SERVICE_SUFFIX:
- discovery/protocol.proto
- gateway/gateway.proto
- gossip/message.proto
- orderer/ab.proto
- orderer/blockattestation.proto
- orderer/cluster.proto
- peer/chaincode_shim.proto
- peer/events.proto
- peer/peer.proto
- peer/snapshot.proto
disallow_comment_ignores: true
breaking:
use:
- FILE
except:
- EXTENSION_NO_DELETE
- FIELD_SAME_DEFAULT