golangci/golangci-lint (github.com/golangci/golangci-lint)
### [`v1.54.2`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1542)
[Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.54.1...v1.54.2)
1. updated linters:
- `errname`: from 0.1.10 to 0.1.12
- `ginkgolinter`: from 0.13.3 to 0.13.5
- `go-errorlint`: from 1.4.3 to 1.4.4
- `godot`: from 1.4.11 to 1.4.14
- `gosec`: from 2.16.0 to 2.17.0
- `musttag`: from 0.7.1 to 0.7.2
- `nilnil`: from 0.1.5 to 0.1.7
- `staticcheck`: from 0.4.3 to 0.4.5
- `usestdlibvars`: from 1.23.0 to 1.24.0
- `govet`: add missing `directive` and `slog` passes
### [`v1.54.1`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1541)
[Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.54.0...v1.54.1)
1. updated linters:
- `go-critic`: from 0.8.2 to 0.9.0
2. misc.
- plugin: temporarily hide warning about using plugins using the old API
### [`v1.54.0`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1540)
[Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.53.3...v1.54.0)
1. updated linters:
- `decorder`: from 0.2.3 to 0.4.0
- `dupword`: from 0.0.11 to 0.0.12
- `errorlint`: from 1.4.2 to 1.4.3
- `exhaustruct`: from 2.3.0 to 3.1.0
- `forbidigo`: from 1.5.3 to 1.6.0
- `funlen`: from 0.0.3 to 0.1.0
- `gci`: from 0.10.1 to 0.11.0
- `ginkgolinter`: from 0.12.1 to 0.13.3
- `go-critic`: from 0.8.1 to 0.8.2
- `go-errorlint`: from 1.4.2 to 1.4.3
- `go-exhaustruct`: from 2.3.0 to 3.1.0
- `gocognit`: from 1.0.6 to 1.0.7
- `gocritic`: from 0.8.1 to 0.8.2
- `gofmt`: autofix missing newline at EOF
- `misspell`: 0.4.0 to 0.4.1
- `musttag`: from 0.7.0 to 0.7.1
- `paralleltest`: from 1.0.7 to 1.0.8
- `tagalign`: from 1.2.2 to 1.3.2
- `typecheck`: explain it and remove it from the linter list
- `zerologlint`: from 0.1.2 to 0.1.3
2. misc.
- š go1.21 support
- plugin: include custom linters in `enable-all`
- plugin: allow to use settings for plugins
3. Documentation
- Add linter descriptions.
**Important**
`ruleguard` (a "rule" inside `gocritic`) was disabled in this release (v1.54.0) and was enabled again in the next release (v1.54.1).
`exhaustruct` has breaking changes with regular expressions, more details [here](https://togithub.com/GaijinEntertainment/go-exhaustruct/releases/tag/v3.0.0).
### [`v1.53.3`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1533)
[Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.53.2...v1.53.3)
1. updated linters:
- `cyclop`: from 1.2.0 to 1.2.1
- `exhaustive`: from 0.10.0 to 0.11.0
- `forbidigo`: from 1.5.1 to 1.5.3
- `ginkgolinter`: from 0.12.2 to 0.12.1
- `ineffassign`: bump to HEAD
- `nakedret`: from 2.0.1 to 2.0.2
- `zerologlint`: from 0.1.1 to 0.1.2
2. misc.
- codeclimate: reduce memory allocation
- support illumos/amd64
### [`v1.53.2`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1532)
[Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.53.1...v1.53.2)
1. updated linters
- `depguard`: from v2.0.1 to 2.1.0
2. misc.
- `depguard`: throw error only when the linter is called
### [`v1.53.1`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1531)
[Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.53.0...v1.53.1)
1. misc.
- `depguard`: fix GOROOT detection
- `importas`: fix duplication detection when aliases use regular expression replacement pattern
### [`v1.53.0`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1530)
[Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.52.2...v1.53.0)
1. new linters
- `gosmopolitan`: https://github.com/xen0n/gosmopolitan
- `mirror`: https://github.com/butuzov/mirror
- `tagalign`: https://github.com/4meepo/tagalign
- `zerologlint`: https://github.com/ykadowak/zerologlint
2. updated linters
- `bodyclose`: bump to HEAD
- `containedctx`: from 1.0.2 to 1.0.3
- `depguard`: migrate to v2
- `errname`: from 0.1.9 to 0.1.10
- `exhaustive`: from 0.9.5 to 0.10.0
- `forbidigo`: better support for configuring complex rules
- `gci`: improve error message
- `ginkgolinter`: add suppress-async-assertion option
- `ginkgolinter`: from 0.9.0 to 0.12.0
- `go-critic`: from 0.7.0 to 0.8.1
- `go-errorlint`: from 1.4.0 to 1.4.2
- `gofumpt`: from 0.4.0 to 0.5.0
- `gosec`: convert global settings as map with proper key type
- `gosec`: from 2.15.0 to 2.16.0
- `importas`: detect duplicate alias or package in the configuration
- `importas`: fix typo in logs
- `ireturn`: from 0.1.1 to 0.2.0
- `musttag`: from 0.5.0 to 0.7.0
- `nakedret`: to 2.0.1
- `nilnil`: from 0.1.3 to 0.1.5
- `paralleltest`: from 1.0.6 to 1.0.7
- `revive`: from 1.3.1 to 1.3.2
- `tagliatelle`: from 0.4.0 to 0.5.0
- `usestdlibvars`: fix configuration
3. misc.
- `golang.org/x/tools`: from 0.7.0 to 0.9.2
- add loongarch64 to the install script
- output: add colored-tab
- remove warning when the config file is explicitly stdin
- rules: support inverted path match
4. Documentation
- `mnd`: clarify ignore usage examples to be regexps
- `tagliatelle`: update documentation
- improve features section
- update supported Go versions FAQ
### [`v1.52.2`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1522)
[Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.52.1...v1.52.2)
1. updated linters
- `tparallel`: from 0.3.0 to 0.3.1
2. misc.
- fix: pre-commit `require_serial` and `pass_filenames`
### [`v1.52.1`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1521)
[Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.52.0...v1.52.1)
1. misc.
- fix: improve panic management
- fix: the combination of --fix and --path-prefix
Configuration
š Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).
š¦ Automerge: Enabled.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v1.52.0
->v1.54.2
Release Notes
golangci/golangci-lint (github.com/golangci/golangci-lint)
### [`v1.54.2`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1542) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.54.1...v1.54.2) 1. updated linters: - `errname`: from 0.1.10 to 0.1.12 - `ginkgolinter`: from 0.13.3 to 0.13.5 - `go-errorlint`: from 1.4.3 to 1.4.4 - `godot`: from 1.4.11 to 1.4.14 - `gosec`: from 2.16.0 to 2.17.0 - `musttag`: from 0.7.1 to 0.7.2 - `nilnil`: from 0.1.5 to 0.1.7 - `staticcheck`: from 0.4.3 to 0.4.5 - `usestdlibvars`: from 1.23.0 to 1.24.0 - `govet`: add missing `directive` and `slog` passes ### [`v1.54.1`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1541) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.54.0...v1.54.1) 1. updated linters: - `go-critic`: from 0.8.2 to 0.9.0 2. misc. - plugin: temporarily hide warning about using plugins using the old API ### [`v1.54.0`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1540) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.53.3...v1.54.0) 1. updated linters: - `decorder`: from 0.2.3 to 0.4.0 - `dupword`: from 0.0.11 to 0.0.12 - `errorlint`: from 1.4.2 to 1.4.3 - `exhaustruct`: from 2.3.0 to 3.1.0 - `forbidigo`: from 1.5.3 to 1.6.0 - `funlen`: from 0.0.3 to 0.1.0 - `gci`: from 0.10.1 to 0.11.0 - `ginkgolinter`: from 0.12.1 to 0.13.3 - `go-critic`: from 0.8.1 to 0.8.2 - `go-errorlint`: from 1.4.2 to 1.4.3 - `go-exhaustruct`: from 2.3.0 to 3.1.0 - `gocognit`: from 1.0.6 to 1.0.7 - `gocritic`: from 0.8.1 to 0.8.2 - `gofmt`: autofix missing newline at EOF - `misspell`: 0.4.0 to 0.4.1 - `musttag`: from 0.7.0 to 0.7.1 - `paralleltest`: from 1.0.7 to 1.0.8 - `tagalign`: from 1.2.2 to 1.3.2 - `typecheck`: explain it and remove it from the linter list - `zerologlint`: from 0.1.2 to 0.1.3 2. misc. - š go1.21 support - plugin: include custom linters in `enable-all` - plugin: allow to use settings for plugins 3. Documentation - Add linter descriptions. **Important** `ruleguard` (a "rule" inside `gocritic`) was disabled in this release (v1.54.0) and was enabled again in the next release (v1.54.1). `exhaustruct` has breaking changes with regular expressions, more details [here](https://togithub.com/GaijinEntertainment/go-exhaustruct/releases/tag/v3.0.0). ### [`v1.53.3`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1533) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.53.2...v1.53.3) 1. updated linters: - `cyclop`: from 1.2.0 to 1.2.1 - `exhaustive`: from 0.10.0 to 0.11.0 - `forbidigo`: from 1.5.1 to 1.5.3 - `ginkgolinter`: from 0.12.2 to 0.12.1 - `ineffassign`: bump to HEAD - `nakedret`: from 2.0.1 to 2.0.2 - `zerologlint`: from 0.1.1 to 0.1.2 2. misc. - codeclimate: reduce memory allocation - support illumos/amd64 ### [`v1.53.2`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1532) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.53.1...v1.53.2) 1. updated linters - `depguard`: from v2.0.1 to 2.1.0 2. misc. - `depguard`: throw error only when the linter is called ### [`v1.53.1`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1531) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.53.0...v1.53.1) 1. misc. - `depguard`: fix GOROOT detection - `importas`: fix duplication detection when aliases use regular expression replacement pattern ### [`v1.53.0`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1530) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.52.2...v1.53.0) 1. new linters - `gosmopolitan`: https://github.com/xen0n/gosmopolitan - `mirror`: https://github.com/butuzov/mirror - `tagalign`: https://github.com/4meepo/tagalign - `zerologlint`: https://github.com/ykadowak/zerologlint 2. updated linters - `bodyclose`: bump to HEAD - `containedctx`: from 1.0.2 to 1.0.3 - `depguard`: migrate to v2 - `errname`: from 0.1.9 to 0.1.10 - `exhaustive`: from 0.9.5 to 0.10.0 - `forbidigo`: better support for configuring complex rules - `gci`: improve error message - `ginkgolinter`: add suppress-async-assertion option - `ginkgolinter`: from 0.9.0 to 0.12.0 - `go-critic`: from 0.7.0 to 0.8.1 - `go-errorlint`: from 1.4.0 to 1.4.2 - `gofumpt`: from 0.4.0 to 0.5.0 - `gosec`: convert global settings as map with proper key type - `gosec`: from 2.15.0 to 2.16.0 - `importas`: detect duplicate alias or package in the configuration - `importas`: fix typo in logs - `ireturn`: from 0.1.1 to 0.2.0 - `musttag`: from 0.5.0 to 0.7.0 - `nakedret`: to 2.0.1 - `nilnil`: from 0.1.3 to 0.1.5 - `paralleltest`: from 1.0.6 to 1.0.7 - `revive`: from 1.3.1 to 1.3.2 - `tagliatelle`: from 0.4.0 to 0.5.0 - `usestdlibvars`: fix configuration 3. misc. - `golang.org/x/tools`: from 0.7.0 to 0.9.2 - add loongarch64 to the install script - output: add colored-tab - remove warning when the config file is explicitly stdin - rules: support inverted path match 4. Documentation - `mnd`: clarify ignore usage examples to be regexps - `tagliatelle`: update documentation - improve features section - update supported Go versions FAQ ### [`v1.52.2`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1522) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.52.1...v1.52.2) 1. updated linters - `tparallel`: from 0.3.0 to 0.3.1 2. misc. - fix: pre-commit `require_serial` and `pass_filenames` ### [`v1.52.1`](https://togithub.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1521) [Compare Source](https://togithub.com/golangci/golangci-lint/compare/v1.52.0...v1.52.1) 1. misc. - fix: improve panic management - fix: the combination of --fix and --path-prefixConfiguration
š Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).
š¦ Automerge: Enabled.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.