From cb2f8ba5620361ab997b71e95e03ea28d30014cf Mon Sep 17 00:00:00 2001 From: Trevor Pounds Date: Mon, 30 Dec 2019 12:18:05 -0500 Subject: [PATCH] Update README to v1.22.2 release. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 920a9074..fda5dd69 100644 --- a/README.md +++ b/README.md @@ -73,17 +73,17 @@ use deprecated option `--enable-all` and a new linter is added or even without ` It's highly recommended to install a specific version of golangci-lint available on the [releases page](https://github.com/golangci/golangci-lint/releases). -Here is the recommended way to install golangci-lint v1.22.1: +Here is the recommended way to install golangci-lint v1.22.2: ```bash # binary will be $(go env GOPATH)/bin/golangci-lint -curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.22.1 +curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.22.2 # or install it into ./bin/ -curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.22.1 +curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.22.2 # In alpine linux (as it does not come with curl by default) -wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.22.1 +wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.22.2 golangci-lint --version ``` @@ -103,7 +103,7 @@ brew upgrade golangci/tap/golangci-lint ### Docker ```bash -docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.22.1 golangci-lint run -v +docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.22.2 golangci-lint run -v ``` ### Go