Skip to content

Commit 61d7b5d

Browse files
committed
chore(glangci-lint): use revive replace golint
1 parent 5b1f105 commit 61d7b5d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rootfs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RUN export DEBIAN_FRONTEND=noninteractive \
5050
github.com/AlekSi/gocov-xml \
5151
github.com/axw/gocov/gocov \
5252
github.com/mitchellh/gox \
53-
golang.org/x/lint \
53+
github.com/mgechev/revive \
5454
&& git clone --dept 1 -b $ENVTPL_VERSION https://github.com/subfuzion/envtpl $GOPATH/src/github.com/subfuzion/envtpl \
5555
&& cd $GOPATH/src/github.com/subfuzion/envtpl \
5656
&& export GO111MODULE=on \

rootfs/usr/local/bin/lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ golangci-lint --disable-all \
1111
-E=gosimple \
1212
-E=vet \
1313
-E=gofmt \
14-
-E=golint \
14+
-E=revive \
1515
--timeout=600s \
1616
run ./...
1717

0 commit comments

Comments
 (0)