Skip to content

Update module github.com/golangci/golangci-lint/v2 to v2.2.1 #41037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 1, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/golangci/golangci-lint/v2 v2.1.6 -> v2.2.1 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v2.2.1

Compare Source

  1. Linters bug fixes
  • varnamelen: fix configuration

v2.2.0

Compare Source

  1. New linters
  2. Linters new features or changes
    • errcheck: add verbose option
    • funcorder: from 0.2.1 to 0.5.0 (new option alphabetical)
    • gomoddirectives: from 0.6.1 to 0.7.0 (new option ignore-forbidden)
    • iface: from 1.3.1 to 1.4.0 (new option unexported)
    • noctx: from 0.1.0 to 0.3.3 (new report messages, and new rules related to database/sql)
    • noctx: from 0.3.3 to 0.3.4 (new SQL functions detection)
    • revive: from 1.9.0 to 1.10.0 (new rules: time-date, unnecessary-format, use-fmt-print)
    • usestdlibvars: from 1.28.0 to 1.29.0 (new option time-date-month)
    • wsl: deprecation
    • wsl_v5: from 4.7.0 to 5.0.0 (major version with new configuration)
  3. Linters bug fixes
    • dupword: from 0.1.3 to 0.1.6
    • exptostd: from 0.4.3 to 0.4.4
    • forbidigo: from 1.6.0 to 2.1.0
    • gci: consistently format the code
    • go-spancheck: from 0.6.4 to 0.6.5
    • goconst: from 1.8.1 to 1.8.2
    • gosec: from 2.22.3 to 2.22.4
    • gosec: from 2.22.4 to 2.22.5
    • makezero: from 1.2.0 to 2.0.1
    • misspell: from 0.6.0 to 0.7.0
    • usetesting: from 0.4.3 to 0.5.0
  4. Misc.
    • exclusions: fix path-expect
    • formatters: write the input to stdout when using stdin and there are no changes
    • migration: improve the error message when trying to migrate a migrated config
    • typecheck: deduplicate errors
    • typecheck: stops the analysis after the first error
    • Deprecate print-resources-usage flag
    • Unique version per custom build
  5. Documentation
    • Improves typecheck FAQ
    • Adds plugin systems recommendations
    • Add description for linters.default sets

Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner July 1, 2025 13:55
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 1, 2025
@renovate renovate bot requested a review from dashpole July 1, 2025 13:55
@renovate renovate bot added the renovatebot label Jul 1, 2025
Copy link
Contributor Author

renovate bot commented Jul 1, 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):

  • 19 additional dependencies were updated

Details:

Package Change
github.com/Abirdcfly/dupword v0.1.3 -> v0.1.6
github.com/alecthomas/chroma/v2 v2.17.2 -> v2.18.0
github.com/ccojocar/zxcvbn-go v1.0.2 -> v1.0.4
github.com/golangci/misspell v0.6.0 -> v0.7.0
github.com/golangci/plugin-module-register v0.1.1 -> v0.1.2
github.com/jgautheron/goconst v1.8.1 -> v1.8.2
github.com/jjti/go-spancheck v0.6.4 -> v0.6.5
github.com/ldez/exptostd v0.4.3 -> v0.4.4
github.com/ldez/gomoddirectives v0.6.1 -> v0.7.0
github.com/ldez/usetesting v0.4.3 -> v0.5.0
github.com/manuelarte/funcorder v0.2.1 -> v0.5.0
github.com/mgechev/revive v1.9.0 -> v1.10.0
github.com/santhosh-tekuri/jsonschema/v6 v6.0.1 -> v6.0.2
github.com/sashamelentyev/usestdlibvars v1.28.0 -> v1.29.0
github.com/securego/gosec/v2 v2.22.3 -> v2.22.5
github.com/sonatard/noctx v0.1.0 -> v0.3.4
github.com/uudashr/iface v1.3.1 -> v1.4.0
golang.org/x/oauth2 v0.29.0 -> v0.30.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463 -> v0.0.0-20250603155806-513f23925822

@songy23 songy23 added help wanted Extra attention is needed ci-cd CI, CD, testing, build issues labels Jul 1, 2025
@songy23
Copy link
Member

songy23 commented Jul 1, 2025

new linter rules break linters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-cd CI, CD, testing, build issues dependencies Pull requests that update a dependency file help wanted Extra attention is needed internal/tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants