You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update README.
* added -S flag to properly show errors for curl
* replaced -q flag with -nv to properly show errors for wget
* added github release badge from shields.io to display latest version next installation
Copy file name to clipboardExpand all lines: README.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,29 +68,27 @@ Most installations are done for CI (travis, circleci etc). It's important to hav
68
68
don't start to fail all builds at the same time. With golangci-lint this can happen if you
69
69
use deprecated option `--enable-all` and a new linter is added or even without `--enable-all`: when one upstream linter is upgraded.
70
70
71
-
It's highly recommended to install a fixed version of golangci-lint.
72
-
Releases are available on the [releases page](https://github.com/golangci/golangci-lint/releases).
71
+
It's highly recommended to install a specific version of golangci-lint. Releases are available on the [releases page](https://github.com/golangci/golangci-lint/releases).
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.21.0
82
+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.21.0
84
83
85
84
# In alpine linux (as it does not come with curl by default)
86
-
wget -O- -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.21.0
85
+
wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.21.0
87
86
88
87
golangci-lint --version
89
88
```
90
89
91
-
Periodically update version of golangci-lint: the project is under active development
92
-
and is constantly being improved. But please always check for newly found issues and
93
-
update if needed.
90
+
It is advised that you periodically update version of golangci-lint as the project is under active development
91
+
and is constantly being improved. For any problems with golangci-lint, check out recent [GitHub issues](https://github.com/golangci/golangci-lint/issues) and update if needed.
Copy file name to clipboardExpand all lines: README.tmpl.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,29 +68,27 @@ Most installations are done for CI (travis, circleci etc). It's important to hav
68
68
don't start to fail all builds at the same time. With golangci-lint this can happen if you
69
69
use deprecated option `--enable-all` and a new linter is added or even without `--enable-all`: when one upstream linter is upgraded.
70
70
71
-
It's highly recommended to install a fixed version of golangci-lint.
72
-
Releases are available on the [releases page](https://github.com/golangci/golangci-lint/releases).
71
+
It's highly recommended to install a specific version of golangci-lint. Releases are available on the [releases page](https://github.com/golangci/golangci-lint/releases).
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s {{.LatestVersion}}
82
+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s {{.LatestVersion}}
84
83
85
84
# In alpine linux (as it does not come with curl by default)
86
-
wget -O- -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s {{.LatestVersion}}
85
+
wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s {{.LatestVersion}}
87
86
88
87
golangci-lint --version
89
88
```
90
89
91
-
Periodically update version of golangci-lint: the project is under active development
92
-
and is constantly being improved. But please always check for newly found issues and
93
-
update if needed.
90
+
It is advised that you periodically update version of golangci-lint as the project is under active development
91
+
and is constantly being improved. For any problems with golangci-lint, check out recent [GitHub issues](https://github.com/golangci/golangci-lint/issues) and update if needed.
0 commit comments