use golangci-lint

This commit is contained in:
A.Unger
2020-05-22 13:45:17 +02:00
parent 29d8b1b981
commit 1ef3792906
5 changed files with 4 additions and 23 deletions
-4
View File
@@ -74,10 +74,6 @@ fmt:
vet:
go vet $(PACKAGES)
.PHONY: staticcheck
staticcheck:
go run honnef.co/go/tools/cmd/staticcheck -tags '$(TAGS)' $(PACKAGES)
.PHONY: lint
lint:
for PKG in $(PACKAGES); do go run golang.org/x/lint/golint -set_exit_status $$PKG || exit 1; done;