Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update module github.com/golangci/golangci-lint/v2 to v2.6.0#541

Merged
XSAM merged 1 commit intomainfrom
renovate/github.com-golangci-golangci-lint-v2-2.x
Oct 31, 2025
Merged

Update module github.com/golangci/golangci-lint/v2 to v2.6.0#541
XSAM merged 1 commit intomainfrom
renovate/github.com-golangci-golangci-lint-v2-2.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 21, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/golangci/golangci-lint/v2 v2.4.0 -> v2.6.0 age confidence

Release Notes

golangci/golangci-lint (github.com/golangci/golangci-lint/v2)

v2.6.0

Compare Source

  1. New linters
    • Add modernize analyzer suite
  2. Linters new features or changes
    • arangolint: from 0.2.0 to 0.3.1
    • dupword: from 0.1.6 to 0.1.7 (new option comments-only)
    • go-critic: from 0.13.0 to 0.14.0 (new rules/checkers: zeroByteRepeat, dupOption)
    • gofumpt: from 0.9.1 to 0.9.2 ("clothe" naked returns is now controlled by the extra-rules option)
    • perfsprint: from 0.9.1 to 0.10.0 (new options: concat-loop, loop-other-ops)
    • wsl: from 5.2.0 to 5.3.0
  3. Linters bug fixes
    • dupword: from 0.1.6 to 0.1.7
    • durationcheck: from 0.0.10 to 0.0.11
    • exptostd: from 0.4.4 to 0.4.5
    • fatcontext: from 0.8.1 to 0.9.0
    • forbidigo: from 2.1.0 to 2.3.0
    • ginkgolinter: from 0.21.0 to 0.21.2
    • godoc-lint: from 0.10.0 to 0.10.1
    • gomoddirectives: from 0.7.0 to 0.7.1
    • gosec: from 2.22.8 to 2.22.10
    • makezero: from 2.0.1 to 2.1.0
    • nilerr: from 0.1.1 to 0.1.2
    • paralleltest: from 1.0.14 to 1.0.15
    • protogetter: from 0.3.16 to 0.3.17
    • unparam: from 0df0534 to 5beb8c8
  4. Misc.
    • fix: ignore some files to hash the version for custom build

v2.5.0

Compare Source

  1. New linters
  2. Linters new features or changes
    • embeddedstructfieldcheck: from 0.3.0 to 0.4.0 (new option: empty-line)
    • err113: from aea10b5 to 0.1.1 (skip internals of Is methods for error type)
    • ginkgolinter: from 0.20.0 to 0.21.0 (new option: force-tonot)
    • gofumpt: from 0.8.0 to 0.9.1 (new rule is to "clothe" naked returns for the sake of clarity)
    • ineffassign: from 0.1.0 to 0.2.0 (new option: check-escaping-errors)
    • musttag: from 0.13.1 to 0.14.0 (support interface methods)
    • revive: from 1.11.0 to 1.12.0 (new options: identical-ifelseif-branches, identical-ifelseif-conditions, identical-switch-branches, identical-switch-conditions, package-directory-mismatch, unsecure-url-scheme, use-waitgroup-go, useless-fallthrough)
    • thelper: from 0.6.3 to 0.7.1 (skip t.Helper in functions passed to synctest.Test)
    • wsl: from 5.1.1 to 5.2.0 (improvements related to subexpressions)
  3. Linters bug fixes
    • asciicheck: from 0.4.1 to 0.5.0
    • errname: from 1.1.0 to 1.1.1
    • fatcontext: from 0.8.0 to 0.8.1
    • go-printf-func-name: from 0.1.0 to 0.1.1
    • godot: from 1.5.1 to 1.5.4
    • gosec: from 2.22.7 to 2.22.8
    • nilerr: from 0.1.1 to a temporary fork
    • nilnil: from 1.1.0 to 1.1.1
    • protogetter: from 0.3.15 to 0.3.16
    • tagliatelle: from 0.7.1 to 0.7.2
    • testifylint: from 1.6.1 to 1.6.4
  4. Misc.
    • fix: "no export data" errors are now handled as a standard typecheck error
  5. Documentation
    • Improve nolint section about syntax

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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Sep 21, 2025

ℹ Artifact update notice

File name: internal/tools/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 44 additional dependencies were updated

Details:

Package Change
github.com/Abirdcfly/dupword v0.1.6 -> v0.1.7
github.com/Antonboom/errname v1.1.0 -> v1.1.1
github.com/Antonboom/nilnil v1.1.0 -> v1.1.1
github.com/Antonboom/testifylint v1.6.1 -> v1.6.4
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 -> v0.1.1
github.com/Masterminds/semver/v3 v3.3.1 -> v3.4.0
github.com/ashanbrown/forbidigo/v2 v2.1.0 -> v2.3.0
github.com/ashanbrown/makezero/v2 v2.0.1 -> v2.1.0
github.com/bombsimon/wsl/v5 v5.1.1 -> v5.3.0
github.com/catenacyber/perfsprint v0.9.1 -> v0.10.0
github.com/charithe/durationcheck v0.0.10 -> v0.0.11
github.com/ghostiam/protogetter v0.3.15 -> v0.3.17
github.com/go-critic/go-critic v0.13.0 -> v0.14.0
github.com/gofrs/flock v0.12.1 -> v0.13.0
github.com/golangci/go-printf-func-name v0.1.0 -> v0.1.1
github.com/gordonklaus/ineffassign v0.1.0 -> v0.2.0
github.com/gostaticanalysis/nilerr v0.1.1 -> v0.1.2
github.com/kulti/thelper v0.6.3 -> v0.7.1
github.com/kunwardeep/paralleltest v1.0.14 -> v1.0.15
github.com/ldez/exptostd v0.4.4 -> v0.4.5
github.com/ldez/gomoddirectives v0.7.0 -> v0.7.1
github.com/ldez/grignotin v0.10.0 -> v0.10.1
github.com/ldez/tagliatelle v0.7.1 -> v0.7.2
github.com/manuelarte/embeddedstructfieldcheck v0.3.0 -> v0.4.0
github.com/mgechev/revive v1.11.0 -> v1.12.0
github.com/nunnatsa/ginkgolinter v0.20.0 -> v0.21.2
github.com/quasilyte/go-ruleguard/dsl v0.3.22 -> v0.3.23
github.com/securego/gosec/v2 v2.22.7 -> v2.22.10
github.com/spf13/cobra v1.9.1 -> v1.10.1
github.com/spf13/pflag v1.0.7 -> v1.0.10
github.com/stretchr/testify v1.10.0 -> v1.11.1
github.com/tetafro/godot v1.5.1 -> v1.5.4
go-simpler.org/musttag v0.13.1 -> v0.14.0
go.augendre.info/arangolint v0.2.0 -> v0.3.1
go.augendre.info/fatcontext v0.8.0 -> v0.9.0
golang.org/x/exp/typeparams v0.0.0-20250620022241-b7579e27df2b -> v0.0.0-20251002181428-27f1f14c8bb9
golang.org/x/mod v0.27.0 -> v0.29.0
golang.org/x/sync v0.16.0 -> v0.17.0
golang.org/x/sys v0.35.0 -> v0.37.0
golang.org/x/text v0.27.0 -> v0.30.0
golang.org/x/tools v0.36.0 -> v0.38.0
google.golang.org/protobuf v1.36.6 -> v1.36.8
mvdan.cc/gofumpt v0.8.0 -> v0.9.2
mvdan.cc/unparam v0.0.0-20250301125049-0df0534333a4 -> v0.0.0-20251027182757-5beb8c8f8f15

@renovate renovate bot requested a review from XSAM as a code owner September 21, 2025 21:34
@codecov
Copy link

codecov bot commented Sep 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.5%. Comparing base (bba3653) to head (b128300).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##            main    #541     +/-   ##
=======================================
+ Coverage   83.0%   86.5%   +3.5%     
=======================================
  Files         16      16             
  Lines        757     746     -11     
=======================================
+ Hits         629     646     +17     
+ Misses        85      74     -11     
+ Partials      43      26     -17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch 2 times, most recently from 65c509c to 1febb3e Compare October 23, 2025 08:59
@renovate renovate bot changed the title Update module github.com/golangci/golangci-lint/v2 to v2.5.0 Update module github.com/golangci/golangci-lint/v2 to v2.6.0 Oct 30, 2025
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from 1febb3e to ba545ee Compare October 30, 2025 03:06
@XSAM XSAM enabled auto-merge (squash) October 31, 2025 08:28
@renovate renovate bot force-pushed the renovate/github.com-golangci-golangci-lint-v2-2.x branch from ba545ee to b128300 Compare October 31, 2025 08:28
@XSAM XSAM merged commit 85e7633 into main Oct 31, 2025
18 checks passed
@XSAM XSAM deleted the renovate/github.com-golangci-golangci-lint-v2-2.x branch October 31, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant