Restrict linting domain

This commit is contained in:
wpetit 2018-09-19 10:33:50 +02:00
parent 55e74355bf
commit e7831091ad

View File

@ -13,7 +13,7 @@ test: tidy
go test -mod=vendor -v ./...
lint:
PATH=$(PATH):./bin/gometalinter gometalinter -e '.*/pkg/mod' --vendor ./...
@PATH=$(PATH):./bin/gometalinter gometalinter -e '.*/pkg/mod' -e ".*/go/src" --vendor ./...
tidy:
go mod tidy