forked from scionproto/scion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nogo.json
213 lines (212 loc) · 9.13 KB
/
nogo.json
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
{
"assign": {
"exclude_files": {
"gazelle/walk/walk.go": "",
"com_github_deepmap_oapi_codegen/pkg/codegen/": ""
}
},
"composites": {
"exclude_files": {
"gazelle/language/go/resolve.go": "",
"/io_bazel_rules_docker/": "",
"/com_github_bazelbuild_buildtools/": "",
"/com_github_grpc_ecosystem_grpc_opentracing/go/otgrpc/": "",
"/com_github_vishvananda_netlink/": "",
"/org_golang_x_tools/internal": "",
"/org_golang_google_protobuf": "",
"/org_golang_x_tools/go/analysis/internal/checker": ""
}
},
"copylocks": {
"exclude_files": {
"/org_golang_google_protobuf/internal/impl/": ""
}
},
"nilness": {
"only_files": {
"/acceptance/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/antlr/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/control/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/daemon/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/demo/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/dispatcher/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/gateway/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/pkg/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/private/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/router/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/rules_openapi/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/scion/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/scion-pki/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/tools/": "https://github.com/bazelbuild/rules_go/issues/2172"
},
"exclude_files": {
"gazelle/cmd/gazelle/diff.go": "",
"/in_gopkg_yaml_v2/decode.go": "https://github.com/go-yaml/yaml/pull/492",
"/com_github_mattn_go_sqlite3": "",
"/com_github_lucas_clemente_quic_go": "",
"/com_github_cloudflare_sidh": "",
"/com_github_vishvananda_netlink": ""
}
},
"printf": {
"exclude_files": {
"/com_github_cloudflare_sidh/": "",
"/com_github_client9_misspell/": ""
}
},
"stringintconv": {
"exclude_files": {
"/com_github_sergi_go_diff": "",
"/com_github_uber_jaeger_client_go": "",
"/com_github_google_gopacket": "",
"/net_starlark_go": "",
"/com_github_smartystreets_assertions/internal/go-diff/diffmatchpatch/patch.go": ""
}
},
"unreachable": {
"exclude_files": {
"gazelle/pathtools/path.go": "",
"/com_github_antlr_antlr4_runtime_go_antlr/": "",
"/com_github_uber_jaeger_client_go": "",
"/com_github_marten_seemann_qtls/": "",
"/org_golang_google_protobuf/": "",
"/com_github_magiconair_properties": "",
"/com_github_ghodss_yaml/": "",
"/com_github_lestrrat_go_iter/mapiter/": "",
"/com_github_lestrrat_go_iter/arrayiter/": ""
}
},
"unsafeptr": {
"only_files": {
"/acceptance/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/antlr/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/control/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/daemon/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/demo/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/dispatcher/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/gateway/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/pkg/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/private/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/router/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/rules_openapi/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/scion/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/scion-pki/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/tools/": "https://github.com/bazelbuild/rules_go/issues/2172"
},
"exclude_files": {
"/com_github_mattn_go_sqlite3/": "",
"/com_github_google_gopacket/afpacket/": ""
}
},
"shift": {
"exclude_files": {
"/com_github_marten_seemann_qtls/": ""
}
},
"stdmethods": {
"exclude_files": {
"/com_github_uber_jaeger_client_go": ""
}
},
"structtag": {
"exclude_files": {
"com_github_buildkite_go_buildkite": ""
}
},
"gocall": {
"only_files": {
"/acceptance/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/antlr/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/control/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/daemon/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/demo/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/dispatcher/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/gateway/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/pkg/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/private/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/router/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/rules_openapi/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/scion/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/scion-pki/": "https://github.com/bazelbuild/rules_go/issues/2172",
"/tools/": "https://github.com/bazelbuild/rules_go/issues/2172"
},
"exclude_files": {
"(vendor|external)/*": "Only applies to internal files",
"xtest/*": "",
"_test.go": "Doesn't apply for test files"
}
},
"lostcancel": {
"exclude_files": {
"com_github_grpc_ecosystem_go_grpc_middleware/retry": ""
}
},
"maincheck": {
"exclude_files": {
"/com_github_deepmap_oapi_codegen/": "",
"/com_github_golang_mock/mockgen": "",
"/org_golang_x_tools": "",
"/com_github_bazelbuild_buildtools": ""
}
},
"reflectvaluecompare": {
"exclude_files": {
"in_gopkg_yaml_v2": "",
"com_github_smartystreets_assertions": ""
}
},
"shadow": {
"exclude_files": {
"org_golang_x_text": "",
"org_golang_x_net": "",
"org_golang_x_sys/unix": "",
"org_golang_x_crypto/": "",
"org_golang_x_tools": "",
"org_golang_google_protobuf": "",
"org_golang_google_grpc": "",
"in_gopkg_yaml_v2/": "",
"in_gopkg_yaml_v3": "",
"in_gopkg_ini_v1": "",
"com_github_google_go_cmp/cmp": "",
"com_github_google_gopacket": "",
"com_github_golang_protobuf": "",
"com_github_matttproud_golang_protobuf_extensions": "",
"com_github_getkin_kin_openapi": "",
"com_github_buildkite_go_buildkite_v2/buildkite": "",
"com_github_deepmap_oapi_codegen/pkg/runtime": "",
"com_github_uber_jaeger_client_go/thrift": "",
"com_github_hashicorp_hcl": "",
"com_github_stretchr_testify/assert": "",
"com_github_spf13_afero": "",
"com_github_marten_seemann_qtls_go1_16": "",
"com_github_marten_seemann_qtls_go1_17": "",
"com_github_lucas_clemente_quic_go": "",
"com_github_lestrrat_go_jwx": "",
"com_github_pelletier_go_toml": "",
"com_github_mdlayher_raw": "",
"com_github_vishvananda_netlink": "",
"com_github_prometheus_common/internal": "",
"com_github_prometheus_procfs": "",
"com_github_prometheus_client_golang": "",
"com_github_uber_jaeger_client_go": "",
"com_github_spf13_viper": "",
"com_github_labstack_echo_v4": "",
"com_github_deepmap_oapi_codegen": "",
"pkg/private/serrors/errors.go": "err shadowed",
"pkg/slayers/path/scion/raw.go": "err shadowed",
"pkg/scrypto/cppki/trc.go": "err shadowed",
"private/mgmtapi/jwtauth/jwt.go": "err shadowed",
"dispatcher/underlay.go": "err shadowed"
}
},
"unusedwrite": {
"exclude_files": {
"org_golang_x_mod": "",
"org_golang_x_crypto/ed25519/internal/edwards25519": "",
"com_github_vishvananda_netlink/nl": "",
"com_github_deepmap_oapi_codegen/pkg/codegen": "",
"control/colibri/reservation/e2e/request_test.go": "",
"com_github_bazelbuild_buildtools": ""
}
}
}