chore(deps): update golangci-lint-minor to v1.59.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
golangci-lint | minor |
1.57.2 -> 1.59.0
|
|
golangci/golangci-lint | minor |
1.57.2 -> 1.59.0
|
|
golangci/golangci-lint | repository | minor |
v1.57.2 -> v1.59.0
|
Note: The pre-commit
manager in Renovate is not supported by the pre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.
Release Notes
golangci/golangci-lint (golangci-lint)
v1.59.0
- Enhancements
- Add SARIF output format
- Allow the analysis of generated files (
issues.exclude-generated: disable
)
- Updated linters
-
errcheck
: fix deprecation warning -
go-critic
: from 0.11.3 to 0.11.4 -
gosec
: from 2.20.0 to5f0084e
(fix G601 and G113 performance issues) -
sloglint
: from 0.6.0 to 0.7.0 (new optionforbidden-keys
) -
testifylint
: from 1.2.0 to 1.3.0 (new checkernegative-positive
and new optiongo-require.ignore-http-handlers
)
-
- Misc.
- ️️
⚠ ️ Deprecategithub-action
output format - ️️
⚠ ️ Deprecateissues.exclude-generated-strict
option (replaced byissues.exclude-generated: strict
) - ️️
⚠ ️ Add warning about disabled and deprecated linters (level 2)
- ️️
v1.58.2
- Updated linters
-
canonicalheader
: from 1.0.6 to 1.1.1 -
gosec
: from 2.19.0 to 2.20.0 -
musttag
: from 0.12.1 to 0.12.2 -
nilnil
: from 0.1.8 to 0.1.9
-
- Documentation
- Improve integrations and install pages
v1.58.1
- Updated linters
-
tagalign
: from 1.3.3 to 1.3.4 -
protogetter
: from 0.3.5 to 0.3.6 -
gochecknoinits
: fix analyzer name
-
- Fixes
- Restores previous
gihub-actions
output format (removes GitHub Action problem matchers)
- Restores previous
v1.58.0
- New linters
-
fatcontext
: https://github.com/Crocmagnon/fatcontext -
canonicalheader
: https://github.com/lasiar/canonicalheader
-
- Updated linters
-
copyloopvar
: from 1.0.10 to 1.1.0 (ignore-alias
is replaced bycheck-alias
with the opposite behavior) -
decorder
: from 0.4.1 to 0.4.2 -
errname
: from 0.1.12 to 0.1.13 -
errorlint
: from 1.4.8 to 1.5.1 (new optionsallowed-errors
andallowed-errors-wildcard
) -
execinquery
: deprecate linter⚠ ️ -
gci
: from 0.12.3 to 0.13.4 (new sectionlocalModule
) -
gocritic
: from 0.11.2 to 0.11.3 -
spancheck
: from 0.5.3 to 0.6.1 -
goerr113
is replaced byerr113
⚠ ️ -
gomnd
is replaced bymnd
⚠ ️ -
gomodguard
: from 1.3.1 to 1.3.2 -
grouper
: from 1.1.1 to 1.1.2 -
intrange
: from 0.1.1 to 0.1.2 -
mirror
: from 1.1.0 to 1.2.0 -
misspell
: from 0.4.1 to 0.5.1 -
musttag
: from 0.9.0 to 0.12.1 -
nilnil
: from 0.1.7 to 0.1.8 -
nonamedreturns
: from 1.0.4 to 1.0.5 -
promlinter
: from 0.2.0 to 0.3.0 -
sloglint
: from 0.5.0 to 0.6.0 -
unparam
: bump to HEAD (063aff9
) -
whitespace
: from 0.1.0 to 0.1.1
-
- Enhancements
- Speed up "fast" linters when only "fast" linters are run: between 40% and 80% faster at first run (i.e. without cache)
- Fixes
- Use version with module plugins
- Skip
go.mod
report inside autogenerated processor - Keep only
typecheck
issues when needed - Don't hide
typecheck
errors inside diff processor
- Misc.
-
⚠ ️ log an error when using previously deprecated linters (Linter Deprecation Cycle)-
deadcode
: deprecated since v1.49.0 (2022-08-23). -
exhaustivestruct
: deprecated since v1.46.0 (2022-05-08). -
golint
: deprecated since v1.41.0 (2021-06-15). -
ifshort
: deprecated since v1.48.0 (2022-08-04). -
interfacer
: deprecated since v1.38.0 (2021-03-03). -
maligned
: deprecated since v1.38.0 (2021-03-03). -
nosnakecase
: deprecated since v1.48.0 (2022-08-04). -
scopelint
: deprecated since v1.39.0 (2021-03-25). -
structcheck
: deprecated since v1.49.0 (2022-08-23). -
varcheck
: deprecated since v1.49.0 (2022-08-23).
-
-
⚠ ️ Deprecate usage of linter alternative names - Remove help display on errors with
config verify
command - Add
pre-commit
hook to runconfig verify
- Improve
github-action
output
-
- Documentation
- Remove deprecated Atom from Editor Integrations
GitHub Action (v5.1.0) for golangci-lint:
- supports for
pull
,pull_request_target
, andmerge_group
events with the optiononly-new-issues
. - ️️
⚠ ️skip-pkg-cache
andskip-build-cache
have been removed because the cache related to Go itself is already handled byactions/setup-go
. - with golangci-lint v1.58, the file information (path and position) will be displayed on the log.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Soos