chore(deps): update golangci/golangci-lint docker tag to v2.1.1
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| golangci/golangci-lint | image | minor |
v2.0.2 -> v2.1.1
|
Release Notes
golangci/golangci-lint (golangci/golangci-lint)
v2.1.1
The release process of v2.1.0 failed due to a regression inside goreleaser.
The binaries of v2.1.0 have been published, but not the other artifacts (AUR, Docker, etc.).
v2.1.0
- Enhancements
- Add an option to display absolute paths (
--path-mode=abs) - Add configuration path placeholder (
${config-path}) - Add
warn-unusedoption forfmtcommand - Colored diff for
fmtcommand (golangci-lint fmt --diff-colored)
- Add an option to display absolute paths (
- New linters
- Add
funcorderlinter https://github.com/manuelarte/funcorder
- Add
- Linters new features or changes
-
go-errorlint: from 1.7.1 to 1.8.0 (automatic error comparison and type assertion fixes) -
⚠️ goconst:ignore-stringsis deprecated and replaced byignore-string-values -
goconst: from 1.7.1 to 1.8.1 (new options:find-duplicates,eval-const-expressions) -
govet: addhttpmuxanalyzer -
nilnesserr: from 0.1.2 to 0.2.0 (detect more cases) -
paralleltest: from 1.0.10 to 1.0.14 (checks only_test.gofiles) -
revive: from 1.7.0 to 1.9.0 (support kebab case for setting names) -
sloglint: from 0.9.0 to 0.11.0 (autofix, new optionmsg-style, suggestslog.DiscardHandler) -
wrapcheck: from 2.10.0 to 2.11.0 (new optionreport-internal-errors) -
wsl: from 4.6.0 to 4.7.0 (cgo files are always excluded)
-
- Linters bug fixes
-
fatcontext: from 0.7.1 to 0.7.2 -
gocritic: fiximportshadowchecker -
gosec: from 2.22.2 to 2.22.3 -
ireturn: from 0.3.1 to 0.4.0 -
loggercheck: from 0.10.1 to 0.11.0 -
nakedret: from 2.0.5 to 2.0.6 -
nonamedreturns: from 1.0.5 to 1.0.6 -
protogetter: from 0.3.12 to 0.3.13 -
testifylint: from 1.6.0 to 1.6.1 -
unconvert: update to HEAD
-
- Misc.
- Fixes memory leaks when using go1.(N) with golangci-lint built with go1.(N-X)
- Adds
golangci-lint-fmtpre-commit hook
- Documentation
- Improvements
- Updates section about vscode integration
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.