File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -87,15 +87,16 @@ update if needed.
87
87
88
88
### Local Installation
89
89
90
- It's a not recommended for your CI pipeline. Only install like this for your local development environment.
90
+ Local installation is not recommended for your CI pipeline. Only install the linter this way in a local development environment.
91
91
92
92
``` bash
93
- go get -u github.com/golangci/golangci-lint
93
+ go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
94
94
cd $( go env GOPATH) /src/github.com/golangci/golangci-lint/cmd/golangci-lint
95
95
go install -ldflags " -X 'main.version=$( git describe --tags) ' -X 'main.commit=$( git rev-parse --short HEAD) ' -X 'main.date=$( date) '"
96
96
```
97
+ (On Windows, you can run the above commands with Git Bash, which comes with [ Git for Windows] ( https://git-scm.com/download/win ) .)
97
98
98
- You can also install it on OSX using brew:
99
+ You can also install it on MacOS using [ brew] ( https://brew.sh/ ) :
99
100
100
101
``` bash
101
102
brew install golangci/tap/golangci-lint
You can’t perform that action at this time.
0 commit comments