Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update documentation and assets #2655

Merged
merged 2 commits into from
Mar 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
Follow the news and releases on our [twitter](https://twitter.com/golangci) and our [blog](https://medium.com/golangci).
There is the most valuable changes log:

### v1.45.0

1. updated linters:
* `cobra`: from 1.3.0 to 1.4.0
* `containedctx`: from 1.0.1 to 1.0.2
* `errcheck`: add an option to remove default exclusions
* `gci`: from 0.3.1 to 0.3.2
* `go-header`: from 0.4.2 to 0.4.3
* `gofumpt`: add module-path setting
* `gofumpt`: from 0.2.1 to 0.3.0
* `gopsutil`: from 3.22.1 to 3.22.2
* `gosec`: from 2.9.6 to 2.10.0
* `makezero`: from 1.1.0 to 1.1.1
* `revive`: fix default values
* `wrapcheck`: from 2.4.0 to 2.5.0
2. documentation:
* docs: add "back to the top" button
* docs: add `forbidigo` example that uses comments
* docs: improve linters page
3. misc:
* go1.18 support 🎉
* Add an option to manage the targeted version of Go
* Default to YAML when config file has no extension

### v1.44.2

1. updated linters:
135 changes: 74 additions & 61 deletions README.md

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions assets/github-action-config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"MinorVersionToConfig": {
"latest": {
"TargetVersion": "v1.44.2",
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.44.2/golangci-lint-1.44.2-linux-amd64.tar.gz"
"TargetVersion": "v1.45.0",
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.45.0/golangci-lint-1.45.0-linux-amd64.tar.gz"
},
"v1.10": {
"Error": "golangci-lint version 'v1.10' isn't supported: we support only v1.14.0 and later versions"
@@ -146,6 +146,10 @@
"TargetVersion": "v1.44.2",
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.44.2/golangci-lint-1.44.2-linux-amd64.tar.gz"
},
"v1.45": {
"TargetVersion": "v1.45.0",
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.45.0/golangci-lint-1.45.0-linux-amd64.tar.gz"
},
"v1.5": {
"Error": "golangci-lint version 'v1.5' isn't supported: we support only v1.14.0 and later versions"
},
2 changes: 1 addition & 1 deletion docs/template_data.state
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This file stores hash of website templates to trigger Netlify rebuild when something changes, e.g. new linter is added.
440d240e2022e5c3ae7d1e9bcf68218c9c156c22531a220a594306d4977f0f96
3d9e4b1cdf3e09043aa6ada5ad84c69c93f379d42d6bbbb292d3530ca9081502