From a4eae94d718480e766419a5e19592dabd7856ef6 Mon Sep 17 00:00:00 2001 From: itchyny Date: Sat, 18 Sep 2021 23:46:17 +0900 Subject: [PATCH] switch to staticcheck from golint --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: