Skip to content

Commit d62fb6d

Browse files
golangci-releaserldez
authored andcommitted
docs: Update documentation and assets (golangci#2579)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
1 parent 68d20b4 commit d62fb6d

File tree

11 files changed

+659
-617
lines changed

11 files changed

+659
-617
lines changed

.github/ISSUE_TEMPLATE/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ blank_issues_enabled: false
22
contact_links:
33
- name: Questions
44
url: https://github.com/golangci/golangci-lint/discussions
5-
about: If you have a question, or are looking for advice, please post on our discussions forum!
5+
about: If you have a question, or are looking for advice, please post on our Discussions forum!
66
- name: golangci-lint documentation
77
url: https://golangci-lint.run
8-
about: Please take a look to our documenation.
8+
about: Please take a look to our documentation.

.github/dependabot.yml

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ updates:
44
directory: "/"
55
schedule:
66
interval: weekly
7+
day: "sunday"
8+
time: "11:00" # 11am UTC
79
ignore:
810
# ignore forked linters because of their versioning issues. TODO: fix it.
911
- dependency-name: "github.com/golangci/*"
@@ -31,5 +33,6 @@ updates:
3133
directory: "/docs"
3234
schedule:
3335
interval: monthly
36+
day: wednesday
3437
reviewers:
3538
- "golangci/team"

.golangci.example.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1594,6 +1594,7 @@ linters-settings:
15941594

15951595
linters:
15961596
# Disable all linters.
1597+
# Default: false
15971598
disable-all: true
15981599
# Enable specific linter
15991600
# https://golangci-lint.run/usage/linters/#enabled-by-default-linters
@@ -1683,6 +1684,7 @@ linters:
16831684
- wsl
16841685

16851686
# Enable all available linters.
1687+
# Default: false
16861688
enable-all: true
16871689
# Disable specific linter
16881690
# https://golangci-lint.run/usage/linters/#disabled-by-default-linters--e--enable

.goreleaser.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@ changelog:
6161
sort: asc
6262
filters:
6363
exclude:
64-
- '^docs:'
65-
- '^test:'
66-
- '^dev:'
67-
- 'README'
68-
- 'build\(deps\): bump .* in /docs \(#\d+\)'
69-
- Merge pull request
70-
- Merge branch
64+
- '(?i)^docs?:'
65+
- '(?i)^docs\([^:]+\):'
66+
- '(?i)^docs\[[^:]+\]:'
67+
- '^tests?:'
68+
- '(?i)^dev:'
69+
- '^build\(deps\): bump .* in /docs \(#\d+\)'
70+
- '^build\(deps\): bump .* in /\.github/peril \(#\d+\)'
71+
- Merge pull request
72+
- Merge branch
7173

7274
brews:
7375
- tap:

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
Follow the news and releases on our [twitter](https://twitter.com/golangci) and our [blog](https://medium.com/golangci).
22
There is the most valuable changes log:
33

4+
### v1.44.1
5+
6+
1. updated linters:
7+
* `bidichk`: from 0.2.1 to 0.2.2
8+
* `errchkjson`: from 0.2.1 to 0.2.3
9+
* `thelper`: from 0.5.0 to 0.5.1
10+
* `tagliatelle`: from 0.3.0 to 0.3.1
11+
* `gopsutil`: from 3.21.12 to 3.22.1
12+
* `gci`: from 0.2.9 to 0.3.0
13+
* `revive`: from v1.1.3 to v1.1.4
14+
* `varnamelen`: from v0.5.0 to v0.6.0
15+
2. documentation:
16+
* linters: improve configuration pages
17+
* `decorder`: fix `disable-init-func-first-check: false` elaboration
18+
3. misc:
19+
* fix debug output
20+
421
### v1.44.0
522

623
1. new linters:

README.md

+86-78
Large diffs are not rendered by default.

assets/github-action-config.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"MinorVersionToConfig": {
33
"latest": {
4-
"TargetVersion": "v1.44.0",
5-
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.44.0/golangci-lint-1.44.0-linux-amd64.tar.gz"
4+
"TargetVersion": "v1.44.1",
5+
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.44.1/golangci-lint-1.44.1-linux-amd64.tar.gz"
66
},
77
"v1.10": {
88
"Error": "golangci-lint version 'v1.10' isn't supported: we support only v1.14.0 and later versions"
@@ -143,8 +143,8 @@
143143
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.43.0/golangci-lint-1.43.0-linux-amd64.tar.gz"
144144
},
145145
"v1.44": {
146-
"TargetVersion": "v1.44.0",
147-
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.44.0/golangci-lint-1.44.0-linux-amd64.tar.gz"
146+
"TargetVersion": "v1.44.1",
147+
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.44.1/golangci-lint-1.44.1-linux-amd64.tar.gz"
148148
},
149149
"v1.5": {
150150
"Error": "golangci-lint version 'v1.5' isn't supported: we support only v1.14.0 and later versions"

docs/src/docs/usage/install/index.mdx

+3-2
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,12 @@ On Windows, you can run the above commands with Git Bash, which comes with [Git
8888

8989
### Install from Source
9090

91-
Note: such `go get` installation aren't guaranteed to work. We recommend using binary installation.
91+
Note: such `go install`/`go get` installation aren't guaranteed to work. We recommend using binary installation.
92+
9293
<details>
9394
<summary>Why?</summary>
9495

95-
`go get` installation isn't recommended because of the following points:
96+
`go install`/`go get` installation isn't recommended because of the following points:
9697

9798
1. some users use `-u` flag for `go get`, which upgrades our dependencies. Resulting configuration wasn't tested and isn't guaranteed to work.
9899
2. [`go.mod`](https://github.com/golangci/golangci-lint/blob/master/go.mod) replacement directive doesn't apply. It means a user will be using patched version of `golangci-lint` if we use such replacements.

docs/template_data.state

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
This file stores hash of website templates to trigger Netlify rebuild when something changes, e.g. new linter is added.
2-
b9810d4a9ec034dae53108a02b58f8c479071501e1407fb2d7651bc06d51c11f
2+
74d6ee2c8d7eee280832398a0352caa1210f92b911be236cbbdb89bdc601fe5d

tools/go.mod

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
module github.com/golangci/golangci-lint/tools
22

3-
go 1.13
3+
go 1.16
44

5-
require github.com/goreleaser/goreleaser v0.155.0
6-
7-
// https://github.com/mattn/go-shellwords/pull/39
8-
replace github.com/mattn/go-shellwords => github.com/caarlos0/go-shellwords v1.0.11
5+
require github.com/goreleaser/goreleaser v1.5.0

0 commit comments

Comments
 (0)