Skip to content

Commit

Permalink
Quality: Switch from golint to golangci-lint. (#4418)
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Aug 19, 2022
1 parent 2848e37 commit 0b9580b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -100,7 +100,7 @@ fix: build
$(GOPATH1)/bin/algofix */

lint: deps
$(GOPATH1)/bin/golint ./...
$(GOPATH1)/bin/golangci-lint run -c .golangci.yml

vet:
go vet ./...
Expand Down
1 change: 1 addition & 0 deletions scripts/buildtools/install_buildtools.sh
Expand Up @@ -93,3 +93,4 @@ install_go_module github.com/go-swagger/go-swagger github.com/go-swagger/go-swag
install_go_module github.com/algorand/msgp
install_go_module gotest.tools/gotestsum
install_go_module github.com/algorand/oapi-codegen github.com/algorand/oapi-codegen/cmd/oapi-codegen
install_go_module github.com/golangci/golangci-lint/cmd/golangci-lint
1 change: 1 addition & 0 deletions scripts/buildtools/versions
Expand Up @@ -4,3 +4,4 @@ github.com/algorand/msgp v1.1.52
github.com/algorand/oapi-codegen v1.3.7
github.com/go-swagger/go-swagger v0.25.0
gotest.tools/gotestsum v1.6.4
github.com/golangci/golangci-lint/cmd/golangci-lint v1.41.1
1 change: 1 addition & 0 deletions scripts/check_deps.sh
Expand Up @@ -38,6 +38,7 @@ GO_DEPS=(
"$GO_BIN/golint"
"$GO_BIN/stringer"
"$GO_BIN/msgp"
"$GO_BIN/golangci-lint"
)

check_deps() {
Expand Down

0 comments on commit 0b9580b

Please sign in to comment.