chore(deps): update dependency golangci/golangci-lint to v1.64.6 #64
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.62.2
->v1.64.6
Release Notes
golangci/golangci-lint (golangci/golangci-lint)
v1.64.6
Compare Source
golangci-lint
is a free and open-source project built by volunteers.If you value it, consider supporting us, the maintainers and linter authors.
We appreciate it! ❤️
For key updates, see the changelog.
Changelog
3d28c57
Require type for oneOf mutual exclusion (#5426)84ab753
build(deps): bump 4d63.com/gocheckcompilerdirectives from 1.2.1 to 1.3.0 (#5485)9fddfc4
build(deps): bump github.com/4meepo/tagalign from 1.4.1 to 1.4.2 (#5430)404916a
build(deps): bump github.com/GaijinEntertainment/go-exhaustruct/v3 from 3.3.0 to 3.3.1 (#5467)3b6b9da
build(deps): bump github.com/catenacyber/perfsprint from 0.8.1 to 0.8.2 (#5441)336b21b
build(deps): bump github.com/kisielk/errcheck from 1.8.0 to 1.9.0 (#5447)baad5bb
build(deps): bump github.com/kkHAIKE/contextcheck from 1.1.5 to 1.1.6 (#5482)9e832c9
build(deps): bump github.com/ldez/exptostd from 0.4.1 to 0.4.2 (#5456)f2c6303
build(deps): bump github.com/mgechev/revive from 1.6.1 to 1.7.0 (#5422)9a2423a
build(deps): bump github.com/nunnatsa/ginkgolinter from 0.19.0 to 0.19.1 (#5435)140d96e
build(deps): bump github.com/rogpeppe/go-internal from 1.13.1 to 1.14.0 (#5469)3eecab1
build(deps): bump github.com/rogpeppe/go-internal from 1.14.0 to 1.14.1 (#5476)d574f35
build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.1 to 4.25.2 (#5486)1a6b95b
build(deps): bump github.com/spf13/cobra from 1.8.1 to 1.9.0 (#5421)69ed661
build(deps): bump github.com/spf13/cobra from 1.9.0 to 1.9.1 (#5429)5e17a57
build(deps): bump github.com/tdakkota/asciicheck from 0.4.0 to 0.4.1 (#5418)2c1d661
build(deps): bump github.com/tetafro/godot from 1.4.20 to 1.5.0 (#5420)414f446
build(deps): bump golang.org/x/oauth2 from 0.26.0 to 0.27.0 in /scripts/gen_github_action_config in the scripts group (#5471)042d640
build(deps): bump golangci/golangci-lint-action from 6.3.2 to 6.5.0 in the github-actions group (#5419)d4f4d16
build(deps): bump google.golang.org/protobuf from 1.36.4 to 1.36.5 in /pkg/golinters/protogetter/testdata in the linter-testdata group across 1 directory (#5484)f69da39
fix: use commit hash when version is v0.0.0 (#5479)53d58e8
govet: skip fieldalignment test on 32bit platforms (#5463)v1.64.5
Compare Source
new-from-merge-base-flag
asciicheck
: from 0.3.0 to 0.4.0forcetypeassert
: from 0.1.0 to 0.2.0gosec
: from 2.22.0 to 2.22.1v1.64.4
Compare Source
gci
: fix standard packages list for go1.24v1.64.3
Compare Source
ginkgolinter
: from 0.18.4 to 0.19.0go-critic
: from 0.11.5 to 0.12.0revive
: from 1.6.0 to 1.6.1gci
: fix standard packages list for go1.24v1.64.2
Compare Source
This is the last minor release of golangci-lint v1.
The next release will be golangci-lint v2.
issues.new-from-merge-base
optionrun.relative-path-mode
optioncopyloopvar
: from 1.1.0 to 1.2.1 (support suggested fixes)exptostd
: from 0.3.1 to 0.4.1 (handlesgolang.org/x/exp/constraints.Ordered
)fatcontext
: from 0.5.3 to 0.7.1 (new option:check-struct-pointers
)perfsprint
: from 0.7.1 to 0.8.1 (new options:integer-format
,error-format
,string-format
,bool-format
, andhex-format
)revive
: from 1.5.1 to 1.6.0 (new rules:redundant-build-tag
,use-errors-new
. New optionearly-return.early-return
)go-errorlint
: from 1.7.0 to 1.7.1gochecknoglobals
: from 0.2.1 to 0.2.2godox
: from006bad1
to 1.1.0gosec
: from 2.21.4 to 2.22.0iface
: from 1.3.0 to 1.3.1nilnesserr
: from 0.1.1 to 0.1.2protogetter
: from 0.3.8 to 0.3.9sloglint
: from 0.7.2 to 0.9.0spancheck
: fix defaultStartSpanMatchersSlice
valuesstaticcheck
: from 0.5.1 to 0.6.0tenv
is deprecated and replaced byusetesting.os-setenv: true
.depguard
configurationv1.63.4
Compare Source
dupl
,gomodguard
,revive
: keep only Go-files.v1.63.3
Compare Source
gofmt
,gofumpt
,goimports
,gci
: panic with several trailing EOLgoheader
: skip issues with invalid positionsv1.63.2
Compare Source
gofmt
,gofumpt
,goimports
,gci
: panic with missing trailing EOLv1.63.1
Compare Source
cgi
: invalid reports with cgogofumpt
: panic with autofix and cgov1.63.0
Compare Source
gofmt
,goimports
,gofumpt
,gci
) are applied after the suggested fixes.exptostd
linter https://github.com/ldez/exptostdnilnesserr
linter https://github.com/alingse/nilnesserrusetesting
linter https://github.com/ldez/usetestinggci
: new options:no-inline-comments
,no-prefix-comments
gomoddirectives
: from 0.2.4 to 0.6.0 (new options:go-version-pattern
,toolchain-pattern
,toolchain-forbidden
,tool-forbidden
,go-debug-forbidden
)govet
: newstdversion
,waitgroup
analyzersimportas
: allow multiple empty aliasesloggercheck
: newslog
optionrecvcheck
: from 0.1.2 to 0.2.0 (new options:disable-builtin
,exclusions
)tagliatelle
: from 0.5.0 to 0.7.1 (new options:ignored-fields
,extended-rules
,overrides
,pkg
,ignore
)usestdlibvars
: from 1.27.0 to 1.28.0 (autofix)wrapcheck
: from 2.9.0 to 2.10.0 (new option:extra-ignore-sigs
)asciicheck
: from 0.2.0 to 0.3.0bodyclose
: from5742072
toed6a65f
funlen
: from 0.1.0 to 0.2.0ginkgolinter
: from 0.18.3 to 0.18.4gochecksumtype
: from 0.2.0 to 0.3.1gocognit
: from 1.1.3 to 1.2.0godot
: from 1.4.18 to 1.4.20goheader
: report position improvementgosec
: handling of global nosec option when it is falseiface
: from 1.2.1 to 1.3.0importas
: from 0.1.0 to 0.2.0intrange
: from 0.2.1 to 0.3.0makezero
: from 1.1.1 to 1.2.0mirror
: from 1.2.0 to 1.3.0nilnil
: from 1.0.0 to 1.0.1nosprintfhostport
: from 0.1.1 to 0.2.0reassign
: from 0.2.0 to 0.3.0spancheck
: from 0.6.2 to 0.6.4tagalign
: from 1.3.4 to 1.4.1wastedassign
: from 2.0.7 to 2.1.0whitespace
: from 0.1.1 to 0.2.0wsl
: from 4.4.1 to 4.5.0output.uniq-by-line
is deprecated and replaced byissues.uniq-by-line
.decoder
,sloglint
,tagalign
fromformat
preset.run.timeout
<= 0.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.