forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
nogo_config.json
186 lines (186 loc) · 6.16 KB
/
nogo_config.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
{
"structtag": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"asmdecl": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"assign": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"atomic": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"bools": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"buildtag": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"cgocall": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"composites": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"copylocks": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"httpresponse": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"loopclosure": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"lostcancel": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"nilfunc": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"printf": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"shift": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"stdmethods": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"tests": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"unreachable": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"unsafeptr": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"rules_go_work-.*/": "necessary due to https://github.com/bazelbuild/rules_go/issues/2513",
"external/": "externaldoesn't pass vet"
}
},
"unusedresult": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"ineffassign": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"bannedAPI": {
"only_files": {
"pkg/": "only production code must not use banned imports"
},
"exclude_files": {
"pkg/.*_test\\.go": "unit tests are allowed to use banned imports",
"vendor/": "vendor doesn't pass bannedAPI",
"external/": "external doesn't pass bannedAPI"
}
},
"ginkgolinter": {
"exclude_files": {
"vendor/": "vendor doesn't pass vet",
"external/": "externaldoesn't pass vet"
}
},
"errcheck": {
"exclude_files": {
"vendor/": "vendor doesn't pass errcheck",
"external/": "external doesn't pass errcheck",
"src/": "golang core code does not pass errcheck",
"bazel-out/": "this directory should be off-limits to errcheck",
"pkg/certificates/": "KubeVirt certificate pkg does not pass errcheck yet",
"pkg/cloud-init/": "KubeVirt cloud-init pkg does not pass errcheck yet",
"pkg/config/": "KubeVirt config pkg does not pass errcheck yet",
"pkg/ephemeral-disk-utils/": "KubeVirt ephemeral-disk-utils pkg does not pass errcheck yet",
"pkg/healthz/": "KubeVirt healthz pkg does not pass errcheck yet",
"pkg/hooks/": "KubeVirt hooks pkg does not pass errcheck yet",
"pkg/inotify-informer/": "KubeVirt inotify-informer pkg does not pass errcheck yet",
"pkg/monitoring/": "KubeVirt monitoring pkg does not pass errcheck yet",
"pkg/rest/": "KubeVirt rest pkg does not pass errcheck yet",
"pkg/safepath/": "KubeVirt safepath pkg does not pass errcheck yet",
"pkg/service/": "KubeVirt service pkg does not pass errcheck yet",
"pkg/storage/": "KubeVirt service pkg does not pass errcheck yet",
"pkg/testutils/": "KubeVirt test-utils pkg does not pass errcheck yet",
"pkg/util/": "KubeVirt util pkg does not pass errcheck yet",
"pkg/virt-api/": "KubeVirt virt-api pkg does not pass errcheck yet",
"pkg/virt-handler/": "KubeVirt virt-handler pkg does not pass errcheck yet",
"pkg/virt-launcher/": "KubeVirt virt-launcher pkg does not pass errcheck yet",
"pkg/virt-operator/": "KubeVirt virt-operator pkg does not pass errcheck yet",
"pkg/virtctl/": "KubeVirt virtctl pkg does not pass errcheck yet",
"cmd/": "KubeVirt binaries do not pass errcheck yet",
"tools/": "KubeVirt tools do not pass errcheck yet",
"tests/console": "tests/console does not pass errcheck yet",
"tests/monitoring/": "tests/monitoring does not pass errcheck yet",
"tests/reporter/": "tests/reporter pkg does not pass errcheck yet",
"tests/canary_upgrade_test.go": "canary_upgrade_test does not pass errcheck yet",
"tests/kubectl_test.go": "kubectl_test does not pass errcheck yet",
"tests/migration_test.go": "migration_test does not pass errcheck yet",
"tests/replicaset_test.go": "replicaset_test does not pass errcheck yet",
"tests/usbredir_test.go": "kubectl_test does not pass errcheck yet",
"tests/utils.go": "utils.go does not pass errcheck yet",
"tests/vmi_configuration_test.go": "vmi_configuration_test does not pass errcheck yet",
"tests/vmi_lifecycle_test.go": "vmi_lifecycle_test does not pass errcheck yet",
"tests/vnc_test.go": "vnc_test does not pass errcheck yet"
}
}
}