profile
viewpoint

Ask questionsInstall golangci-lint locally using Windows

Thank you for creating the issue!

  • [ ] Yes, I'm using a binary release within 2 latest major releases. Only such installations are supported.
  • [x] Yes, I've searched similar issues on GitHub and didn't find any.
  • [ ] Yes, I've included all information below (version, config, etc).

I couldn't find a way to install golang-ci-lint in my Windows PC. The only issue I found so far was: https://github.com/golangci/golangci-lint/issues/14

Reading the README.md I could only find Linux and MacOS installation: https://github.com/golangci/golangci-lint#install

Is there any possibility to update the README explaining how to install and run locally golangci-lint for Windows? Thanks

golangci/golangci-lint

Answer questions jirfag

Hi! Can't you run curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.21.0 in terminal?

useful!

Related questions

confusing error message "File is not goimports-ed (goimports)" hot 3
confusing error message "File is not goimports-ed (goimports)" - golangci-lint hot 2
please surpport ignore someOne fuction's igored error hot 1
Setting GO111MODULE=on for golangci.com hot 1
golangci-lint "DecodeRune not declared by package utf8" with golang 1.13 hot 1
Cannot `go get` due to invalid pseudo-version hot 1
go get cmd/golangci-lint fails on Go 1.13 (tip) which uses proxy.golang.org (HTTP error 410 Gone) hot 1
go get cmd/golangci-lint fails on Go 1.13 (tip) which uses proxy.golang.org (HTTP error 410 Gone) hot 1
Golangci-lint Incompatibility with newer versions of Go? hot 1
panic on bodyclose hot 1
concurrent map access on 1.17.1 hot 1
[Feature] TODO/FIXME linter hot 1
Failed to build golangci-lint v1.17.1 when enable GO111MODULE hot 1
Build errors using Go 1.13 hot 1
BUG: failed run hot 1
source:https://uonfu.com/
Github User Rank List