Disable golang modules when executing linters

This commit is contained in:
wpetit 2018-09-26 16:02:43 +02:00
parent 599c4cf1d5
commit fd8657a495

View File

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