Skip to content

Commit c18f385

Browse files
author
Mengqi Yu
committed
skip gometalinter for pkg/admission/cert/writer/internal
1 parent 949bafe commit c18f385

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

test.sh

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,23 @@ gometalinter.v2 --disable-all \
137137
--enable=lll \
138138
--dupl-threshold=400 \
139139
--enable=dupl \
140-
./pkg/...
140+
./pkg/admission/ \
141+
./pkg/admission/cert/generator/... \
142+
./pkg/admission/writer/ \
143+
./pkg/cache/... \
144+
./pkg/client/... \
145+
./pkg/controller/... \
146+
./pkg/envtest/... \
147+
./pkg/event/... \
148+
./pkg/handler/... \
149+
./pkg/internal/... \
150+
./pkg/manager/... \
151+
./pkg/predicate/... \
152+
./pkg/reconcile/... \
153+
./pkg/recorder/... \
154+
./pkg/runtime/... \
155+
./pkg/source/...
156+
141157
# TODO: Enable these as we fix them to make them pass
142158
# --enable=maligned \
143159
# --enable=safesql \

0 commit comments

Comments
 (0)