Repository navigation
chore(deps): update dependency golangci/golangci-lint to v2.15.0 - #108
renovate[bot] wants to merge 1 commit into
Conversation
|
Needs human: golangci-lint v2.15.0 exposes errcheck and modernize findings in the existing code; lint and prek fail on this head. |
|
CI fails: golangci-lint reports unchecked errors in cmd/command.go and the updated tool reports modernization findings. |
|
CI is red: golangci-lint v2.15 reports two unchecked <-waitErr returns and three errors.As modernization findings. Please fix the findings or keep this linter update out until compatible. |
|
Needs human: CI lint fails on unchecked error returns and errors.As modernization findings. |
|
CI fails because golangci-lint v2.15.0 flags unchecked error returns and errors.As modernization findings in cmd/ and pkg/gcloud; prek reports the same lint failures. |
|
CI lint and prek fail on existing errcheck/modernize findings; needs human. |
This PR contains the following updates:
v2.12.2→v2.15.0v2.12.2→v2.15.0Release Notes
golangci/golangci-lint
v2.15.0Compare Source
Released on 2026-10-16
errcheck: from 1.20.0 to 1.30.0exhaustive: from 0.13.0 to 0.15.0 (gocognit: from 1.2.1 to 1.3.0golines: from 0.15.0 to 0.16.0govet-modernize: from 0.50.0 to 0.52.0loggercheck: from 0.12.0 to 0.13.0predeclared: from 0.2.2 to 0.3.0wrapcheck: from 2.12.0 to 2.13.0bidichk: from 0.3.3 to 0.3.4canonicalheader: froma25c71ctoe18e5c5gofumpt: improve deprecation logsgosec: improve concurrency default valueiface: from 1.5.1 to 1.5.3paralleltest: from 1.0.15 to 1.0.16revive: from 1.17.0 to 1.17.1revive: the rulescontext-keys-type,errorf,modifies-value-receiver,range-val-address,string-of-int,time-equal,time-naming,unexported-return,unhandled-error,var-declarationare working (less randomly).rowserrcheck: fromc5f79b8toe0740d5staticcheck: from 0.8.1 to 0.8.2revive)exhaustivelinter:explicit-exhaustive-switchandexplicit-exhaustive-maphave been replaced byexplicit-exhaustive.checkthe valuemaphas been replaced bymapliteral.ignore-enum-members(string) has been replaced byignore-constants(slice).ignore-enum-types(string) has been replaced byignore-types(slice).v2.14.0Compare Source
Released on 2026-09-24
bodyclose: from73d1f95to857993a(new directivehandled)exhaustive: from 0.12.0 to 0.13.0exhaustruct_v5: from 5.0.3 to 5.2.0 (new option:allow-empty-blank-assignments)go-check-sumtype: from 0.3.1 toae6904dgocritic: from 0.14.4 to 0.15.0gofumpt: from 0.11.0 to 0.12.0gomoddirectives: from 0.9.0 to 0.10.0gosec: from 2.28.0 to 2.29.0 (re-enableG407)govet-modernize: from 0.49.0 to 0.50.0loggercheck: from 0.11.0 to 0.12.0revive: from 1.15.0 to 1.17.0 (new rules:marshal-receiver,multiline-if-init,use-slices-concat)tagliatelle: from 0.7.2 to 0.8.0fatcontext: from 0.10.0 to 0.10.1flock: from 0.13.0 to 0.13.1godoclint: from 0.11.2 to 0.11.4protogetter: from 0.3.21 to 1.0.1recvcheck: from 0.3.0 to 0.3.1tagalign: from 1.4.3 to 1.4.4v2.13.2Compare Source
Released on 2026-08-28
iface: from 1.5.0 to 1.5.1staticcheck: from 0.8.0 to 0.8.1unparam: from3f964bcto2fa3d84canonicalheader: from v1.1.2 to a temporary forkv2.13.1Compare Source
Released on 2026-08-20
ginkgolinter: from 0.23.1 to 0.24.0gofmt: fromd62b90etoe84e050staticcheck: from 0.8.0-rc.1 to 0.8.0wsl_v5: from 5.8.0 to 5.9.0v2.13.0Compare Source
Released on 2026-08-19
dupword: from 0.1.7 to 0.1.8 (new optionskip-raw-strings)errcheck: from 1.10.0 to 1.20.0exhaustruct_v5: from 4.0.0 to 5.0.2 (new configuration)exhaustruct: deprecated and replaced byexhaustruct_v5fatcontext: from 0.9.0 to 0.10.0 (new options:check-loops,check-function-literals)goconst: from 1.10.0 to 1.11.0 (new options:ignore-map-keys,exclude-types)gofumpt: from 0.9.2 to 0.11.0 (new options:extra.group-params,extra.clothe-returns,extra.balance-calls)gomoddirectives: from 0.8.0 to 0.9.0 (new option:replace-allow-all)gosec: from 2.26.1 to 2.27.1govet-modernize: from 0.44.0 to 0.49.0 (fmtappendfis removed. New analyzersatomictypes,embedlit,errorsastype,importcomment,reflecttypeassert,slicesclip, andslicesbackward.waitgroupis renamedwaitgroupgo)iface: from 1.4.3 to 1.5.0 (new analyzer:unusedmethod)noinlineerr: from 1.0.5 to 1.0.6nonamedreturns: from 1.0.6 to 1.0.8 (new option:allow-unused-named-returns)recvcheck: from 0.2.0 to 0.3.0 (new default exclusions)unparam: from5beb8c8to3f964bcclickhouse-go-linter: from 1.2.0 to 1.2.1errname: from 1.1.1 to 1.1.2exhaustruct_v5: from 5.0.2 to 5.0.3funcorder: add missingFunctionfieldginkgolinter: from 0.23.0 to 0.23.1gocheckcompilerdirectives: from 1.3.0 to 1.4.0gocritic: from 0.14.3 to 0.14.4gomoddirectives: add missingIgnoreForbiddenfieldiface: from 1.4.2 to 1.4.3mirror: from 1.3.0 to 1.3.3nilnil: from 1.1.1 to 1.1.2protogetter: from 0.3.20 to 0.3.21Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.