Skip to content

Commit 134419b

Browse files
committed
Go vet entire pkg, turn goimports back on
This makes sure to run go vet on the examples and the alias file, and turns goimports back on.
1 parent 37d9a88 commit 134419b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hack/verify.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ source $(dirname ${BASH_SOURCE})/common.sh
2020

2121
header_text "running go vet"
2222

23-
go vet ./pkg/...
23+
go vet ./...
2424

2525
# go get is broken for golint. re-enable this once it is fixed.
2626
#header_text "running golint"
@@ -49,9 +49,9 @@ gometalinter.v2 --disable-all \
4949
--dupl-threshold=400 \
5050
--enable=dupl \
5151
--skip=atomic \
52-
./pkg/...
52+
--enable=goimports \
53+
./pkg/... ./example/... .
5354
# TODO: Enable these as we fix them to make them pass
54-
# --enable=goimports \
5555
# --enable=gosec \
5656
# --enable=maligned \
5757
# --enable=safesql \

0 commit comments

Comments
 (0)