Skip to content

Commit

Permalink
Update golangci-lint client to new version
Browse files Browse the repository at this point in the history
With current 1.17.0 version have issue with golang 1.13.x and have
following error.
```
github.com/golangci/golangci-lint@v1.17.1 requires
	github.com/go-critic/go-critic@v0.0.0-20181204210945-1df300866540: invalid pseudo-version: does not match version-control timestamp (2019-05-26T07:48:19Z)
```
  • Loading branch information
praveenkumar committed May 5, 2020
1 parent 36c6851 commit d395529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -145,7 +145,7 @@ fmtcheck: ## Checks for style violation using gofmt
@gofmt -l $(SOURCE_DIRS) | grep ".*\.go"; if [ "$$?" = "0" ]; then exit 1; fi

$(GOPATH)/bin/golangci-lint:
GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.17.1
GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.26.0

# Run golangci-lint against code
.PHONY: lint cross-lint
Expand Down

0 comments on commit d395529

Please sign in to comment.