Skip to content

Commit 03b1824

Browse files
docs: Update documentation and assets (#3997)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent c1d8c56 commit 03b1824

File tree

4 files changed

+206
-117
lines changed

4 files changed

+206
-117
lines changed

CHANGELOG.md

+69
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,75 @@
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.54.0
5+
6+
1. updated linters:
7+
* `decorder`: from 0.2.3 to 0.4.0
8+
* `dupword`: from 0.0.11 to 0.0.12
9+
* `errorlint`: from 1.4.2 to 1.4.3
10+
* `exhaustruct`: from 2.3.0 to 3.1.0
11+
* `forbidigo`: from 1.5.3 to 1.6.0
12+
* `funlen`: from 0.0.3 to 0.1.0
13+
* `gci`: from 0.10.1 to 0.11.0
14+
* `ginkgolinter`: from 0.12.1 to 0.13.3
15+
* `go-critic`: from 0.8.1 to 0.8.2
16+
* `go-errorlint`: from 1.4.2 to 1.4.3
17+
* `go-exhaustruct`: from 2.3.0 to 3.1.0
18+
* `gocognit`: from 1.0.6 to 1.0.7
19+
* `gocritic`: from 0.8.1 to 0.8.2
20+
* `gofmt`: autofix missing newline at EOF
21+
* `misspell`: 0.4.0 to 0.4.1
22+
* `musttag`: from 0.7.0 to 0.7.1
23+
* `paralleltest`: from 1.0.7 to 1.0.8
24+
* `tagalign`: from 1.2.2 to 1.3.2
25+
* `typecheck`: explain it and remove it from the linter list
26+
* `zerologlint`: from 0.1.2 to 0.1.3
27+
2. misc.
28+
* 🎉 go1.21 support
29+
* plugin: include custom linters in `enable-all`
30+
* plugin: allow to use settings for plugins
31+
3. Documentation
32+
* Add linter descriptions.
33+
34+
#### Important
35+
36+
`ruleguard` (a "rule" inside `gocritic`) is disabled, only with go1.21, due to a bug of `ruleguard`
37+
38+
The Go version should be 1.21 inside `go.mod` or be defined inside the `run` section:
39+
40+
<details><summary>go.mod</summary>
41+
42+
```go
43+
module your/module/name
44+
45+
go 1.21
46+
47+
// ...
48+
49+
```
50+
51+
</details>
52+
53+
<details><summary>.golangci.yml</summary>
54+
55+
```yml
56+
run:
57+
go: '1.21'
58+
```
59+
60+
</details>
61+
62+
<details><summary>CLI flags</summary>
63+
64+
```bash
65+
--go=1.21
66+
```
67+
68+
</details>
69+
70+
71+
You can follow this topic by subscribing to the [issue #3933](https://github.com/golangci/golangci-lint/issues/3933).
72+
473
### v1.53.3
574

675
1. updated linters:

0 commit comments

Comments
 (0)