Skip to content

Commit a675852

Browse files
golangci-releaserldez
authored andcommitted
docs: Update documentation and assets (#4354)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent 92cb74c commit a675852

File tree

4 files changed

+238
-129
lines changed

4 files changed

+238
-129
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ source:
7979
name_template: '{{ .ProjectName }}-{{ .Version }}-source'
8080

8181
brews:
82-
- tap:
82+
- repository:
8383
owner: golangci
8484
name: homebrew-tap
8585
folder: Formula

CHANGELOG.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,85 @@ Follow the news and releases on [Mastodon](https://fosstodon.org/@golangcilint)
22

33
There is the most valuable changes log:
44

5+
### v1.56.0
6+
7+
1. new linters
8+
* feat: add `spancheck` linter https://github.com/jjti/go-spancheck
9+
2. updated linters
10+
* `depguard`: from 2.1.0 to 2.2.0
11+
* `exhaustive`: from 0.11.0 to 0.12.0
12+
* `exhaustruct`: from 3.1.0 to 3.2.0
13+
* `gci`: from 0.11.2 to 0.12.1
14+
* `ginkgolinter`: from 0.14.1 to 0.15.2
15+
* `go-check-sumtype`: from 0.1.3 to 0.1.4
16+
* `go-critic`: from 0.9.0 to 0.11.0
17+
* `go-errorlint`: from 1.4.5 to 1.4.8
18+
* `go-spancheck`: from 0.4.2 to 0.5.2
19+
* `goconst`: from 1.6.0 to 1.7.0
20+
* `godot`: from 1.4.15 to 1.4.16
21+
* `gofumpt`: from 0.5.0 to 0.6.0
22+
* `inamedparam`: from 0.1.2 to 0.1.3
23+
* `ineffassign`: from 0.0.0-20230610083614-0e73809eb601 to 0.1.0
24+
* `ireturn`: from 0.2.2 to 0.3.0
25+
* `misspell`: add mode option
26+
* `musttag`: from v0.7.2 to v0.8.0
27+
* `paralleltest`: from 1.0.8 to 1.0.9
28+
* `perfsprint`: from 0.2.0 to 0.6.0
29+
* `protogetter`: from 0.2.3 to 0.3.4
30+
* `revive`: from 1.3.4 to 1.3.6
31+
* `sloglint`: add static-msg option
32+
* `sloglint`: from 0.1.2 to 0.4.0
33+
* `testifylint`: from 0.2.3 to 1.1.0
34+
* `unparam`: from 20221223090309-7455f1af531d to 20240104100049-c549a3470d14
35+
* `whitespace`: update after moving to the `analysis` package
36+
* `wsl`: from 3.4.0 to 4.2.0
37+
* `zerologlint`: from 0.1.3 to 0.1.5
38+
3. misc.
39+
* Implement stats per linter with a flag
40+
* fix: make versioning inside Docker image consistent with binaries
41+
* fix: parse Go RC version
42+
4. Documentation
43+
* Add missing fields to .golangci.reference.yml
44+
* Fix noctx description
45+
* Improve .golangci.reference.yml defaults
46+
* Improve typecheck FAQ
47+
* Note that `exhaustruct` struct regular expressions are expected to match the entire `package/name/structname`
48+
* Adjust wrapcheck ignoreSigs to new defaults
49+
50+
**Important**
51+
52+
`testifylint` has [breaking changes](https://github.com/Antonboom/testifylint/releases/tag/v1.0.0) about enabling/disabling checks:
53+
54+
- If you were using the option `enable` with a filtered list of checks, you should either add `disable-all: true` (1) or use `disable` field (2).
55+
56+
```yml
57+
# Example (1)
58+
testifylint:
59+
disable-all: true
60+
enable:
61+
- bool-compare
62+
- compares
63+
- empty
64+
- error-is-as
65+
- error-nil
66+
- expected-actual
67+
- go-require
68+
- float-compare
69+
- len
70+
- nil-compare
71+
- require-error
72+
# - suite-dont-use-pkg
73+
- suite-extra-assert-call
74+
- suite-thelper
75+
```
76+
77+
```yml
78+
# Example (2)
79+
testifylint:
80+
disable:
81+
- suite-dont-use-pkg
82+
```
83+
584
### v1.55.2
685
786
1. updated linters

0 commit comments

Comments
 (0)