Fix lint task

This commit is contained in:
2020-11-23 11:17:00 +01:00
parent e06aa5129a
commit 420c3164d6
3 changed files with 590 additions and 6 deletions

View File

@ -14,7 +14,8 @@ test: tidy
go test -mod=vendor -v ./...
lint:
@GO111MODULE=off golangci-lint run -e '.*/pkg/mod' -e ".*/go/src" --enable-all --disable lll $(LINT_ARGS)
go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.32.2
go run github.com/golangci/golangci-lint/cmd/golangci-lint run -e '.*/pkg/mod' -e ".*/go/src" --enable-all --disable lll $(LINT_ARGS)
tidy:
go mod tidy