Skip to content

Commit

Permalink
lint: update staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0Vu committed Oct 23, 2023
1 parent e3dc34e commit 5810498
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default: lint test
lint:
# cd ../tools && go install github.com/golangci/golangci-lint/cmd/golangci-lint
# $(GOPATH)/bin/golangci-lint run -e gosec ./... --timeout=2m
cd ../ test && go install honnef.co/go/tools/cmd/staticcheck@latest
cd ../ test && go install honnef.co/go/tools/cmd/staticcheck@v0.4.6
$(GOPATH)/bin/staticcheck ./...
go vet ./...
go fmt ./...
Expand Down
2 changes: 1 addition & 1 deletion genconfig/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ default: lint test
lint:
# cd ../tools && go install github.com/golangci/golangci-lint/cmd/golangci-lint
# $(GOPATH)/bin/golangci-lint run -e gosec ./... --timeout=2m
cd ../ test && go install honnef.co/go/tools/cmd/staticcheck@latest
cd ../ test && go install honnef.co/go/tools/cmd/staticcheck@v0.4.6
$(GOPATH)/bin/staticcheck ./...
go vet ./...
go fmt ./...
Expand Down
2 changes: 1 addition & 1 deletion katzenmint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ default: lint test
lint:
# cd ../tools && go install github.com/golangci/golangci-lint/cmd/golangci-lint
# $(GOPATH)/bin/golangci-lint run -e gosec ./... --timeout=2m
cd ../ test && go install honnef.co/go/tools/cmd/staticcheck@latest
cd ../ test && go install honnef.co/go/tools/cmd/staticcheck@v0.4.6
$(GOPATH)/bin/staticcheck ./...
go vet ./...
go fmt ./...
Expand Down
2 changes: 1 addition & 1 deletion plugin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ default: lint test
lint:
# cd ../tools && go install github.com/golangci/golangci-lint/cmd/golangci-lint
# $(GOPATH)/bin/golangci-lint run -e gosec ./... --timeout=2m
cd ../ test && go install honnef.co/go/tools/cmd/staticcheck@latest
cd ../ test && go install honnef.co/go/tools/cmd/staticcheck@v0.4.6
$(GOPATH)/bin/staticcheck ./...
go vet ./...
go fmt ./...
Expand Down
2 changes: 1 addition & 1 deletion server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ default: lint test
lint:
# cd ../tools && go install github.com/golangci/golangci-lint/cmd/golangci-lint
# $(GOPATH)/bin/golangci-lint run -e gosec ./... --timeout=2m
cd ../ test && go install honnef.co/go/tools/cmd/staticcheck@latest
cd ../ test && go install honnef.co/go/tools/cmd/staticcheck@v0.4.6
$(GOPATH)/bin/staticcheck ./...
go vet ./...
go fmt ./...
Expand Down

0 comments on commit 5810498

Please sign in to comment.