mirror of
https://github.com/itchyny/mmv.git
synced 2025-12-26 22:24:58 +08:00
switch to staticcheck from golint
This commit is contained in:
parent
57b18aecf5
commit
a4eae94d71
1 changed files with 4 additions and 4 deletions
8
Makefile
8
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue