Restrict linting domain
This commit is contained in:
parent
55e74355bf
commit
e7831091ad
2
Makefile
2
Makefile
|
@ -13,7 +13,7 @@ test: tidy
|
||||||
go test -mod=vendor -v ./...
|
go test -mod=vendor -v ./...
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
PATH=$(PATH):./bin/gometalinter gometalinter -e '.*/pkg/mod' --vendor ./...
|
@PATH=$(PATH):./bin/gometalinter gometalinter -e '.*/pkg/mod' -e ".*/go/src" --vendor ./...
|
||||||
|
|
||||||
tidy:
|
tidy:
|
||||||
go mod tidy
|
go mod tidy
|
||||||
|
|
Reference in New Issue