forked from scionproto/scion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nogo.json
227 lines (227 loc) · 9.63 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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
{
"assign": {
"exclude_files": {
"gazelle/walk/walk.go": "",
"/org_modernc_libc": "",
"/org_modernc_sqlite": ""
}
},
"composites": {
"exclude_files": {
"/com_github_bazelbuild_buildtools/": "",
"/com_github_grpc_ecosystem_grpc_opentracing/go/otgrpc/": "",
"/com_github_vishvananda_netlink/": "",
"/org_golang_google_protobuf": "",
"/org_golang_x_text": "",
"/org_golang_x_tools/go/analysis/internal/checker": "",
"/org_golang_x_tools/internal": "",
"gazelle/language/go/resolve.go": ""
}
},
"copylocks": {
"exclude_files": {
"/org_golang_google_protobuf/internal/impl/": "",
"gazelle/walk/config": ""
}
},
"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_cloudflare_sidh": "",
"/com_github_vishvananda_netlink": "",
"/com_github_spf13_pflag": ""
}
},
"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/": "",
"/org_modernc_libc": "",
"/org_modernc_sqlite": ""
}
},
"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/": "",
"/org_modernc_memory/": "",
"/org_golang_x_sys/": "",
"org_modernc_libc": "",
"org_modernc_sqlite": "",
"com_github_mailru_easyjson": ""
}
},
"shift": {
"exclude_files": {
"/com_github_marten_seemann_qtls/": "",
"/org_modernc_mathutil/": ""
}
},
"stdmethods": {
"exclude_files": {
"/com_github_uber_jaeger_client_go": "",
"org_golang_x_exp": "",
"/org_modernc_sqlite": "",
"/org_modernc_mathutil": ""
}
},
"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": "",
"org_golang_x_tools": ""
}
},
"maincheck": {
"exclude_files": {
"/com_github_deepmap_oapi_codegen_v2/": "",
"/com_github_golang_mock/mockgen": "",
"/org_golang_x_tools": "",
"gazelle/language/go/gen_std_package_list": "",
"gazelle/language/proto/gen/gen_known_imports": "",
"gazelle/cmd/gazelle/gazelle": "",
"/com_github_bazelbuild_buildtools": "",
"/com_github_oncilla_ineffassign/": ""
}
},
"reflectvaluecompare": {
"exclude_files": {
"in_gopkg_yaml_v2": "",
"com_github_smartystreets_assertions": "",
"/com_github_smarty_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_uber_jaeger_client_go/thrift": "",
"com_github_hashicorp_hcl": "",
"com_github_stretchr_testify/assert": "",
"com_github_spf13_afero": "",
"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": "",
"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_v2/pkg/codegen": "",
"com_github_quic_go_quic_go": "",
"com_github_bazelbuild_buildtools": "",
"/bazel_gazelle/": ""
}
}
}