diff --git a/Makefile b/Makefile index 523acc7..1c55104 100644 --- a/Makefile +++ b/Makefile @@ -42,12 +42,12 @@ test: build go test -v -race ./... .PHONY: lint -lint: $(GOBIN)/golint +lint: $(GOBIN)/staticcheck go vet ./... - golint -set_exit_status ./... + staticcheck ./... -$(GOBIN)/golint: - go install golang.org/x/lint/golint@latest +$(GOBIN)/staticcheck: + go install honnef.co/go/tools/cmd/staticcheck@latest .PHONY: clean clean: