switch to staticcheck from golint

This commit is contained in:
itchyny 2021-09-18 23:46:17 +09:00
parent 57b18aecf5
commit a4eae94d71

View file

@ -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: