Skip to content

build(deps): Bump github.com/golangci/golangci-lint/v2 from 2.1.6 to 2.2.1 in /internal/tools#1239

Merged
mmorel-35 merged 1 commit into
mainfrom
dependabot/go_modules/internal/tools/github.com/golangci/golangci-lint/v2-2.2.1
Jul 5, 2025
Merged

build(deps): Bump github.com/golangci/golangci-lint/v2 from 2.1.6 to 2.2.1 in /internal/tools#1239
mmorel-35 merged 1 commit into
mainfrom
dependabot/go_modules/internal/tools/github.com/golangci/golangci-lint/v2-2.2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 1, 2025

Copy link
Copy Markdown
Contributor

Bumps github.com/golangci/golangci-lint/v2 from 2.1.6 to 2.2.1.

Release notes

Sourced from github.com/golangci/golangci-lint/v2's releases.

v2.2.1

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

  • f2782fa005b6067e40318396aa263819ad6c6600 varnamelen: fix configuration (#5904)

v2.2.0

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

  • f54365bc92856d453f8c7c4684022b5d4efa0cb1 Add noinlineerr linter (#5826)
  • 3e52be7b0d94868487584e6ce19e72a9bb906507 Add swaggo/swag formatter (#5749)
  • f5f2c1654bc47cbde49e6849acc9e2b30da2fda0 build(deps): bump github.com/Abirdcfly/dupword from 0.1.3 to 0.1.4 (#5809)
  • 2a63ebc12fd4c8a31c281cffa31671c161461fb7 build(deps): bump github.com/Abirdcfly/dupword from 0.1.4 to 0.1.5 (#5839)
  • 0bcafa0850bd0ac1aeaa440f4684838e2fb5cf49 build(deps): bump github.com/Abirdcfly/dupword from 0.1.5 to 0.1.6 (#5841)
  • 58036ddeefcfc8814b9787742a6985b13d02c4b0 build(deps): bump github.com/alecthomas/chroma/v2 from 2.17.2 to 2.18.0 (#5812)
  • acbcbdbd1583e557c882d618192a5b5ffb773b34 build(deps): bump github.com/ashanbrown/forbidigo from 1.6.0 to 2.1.0 (#5783)
  • e905d8072c5f0a75434d1ddee57bdcdcf52fb00f build(deps): bump github.com/ashanbrown/makezero from 1.2.0 to 2.0.1 (#5782)
  • 82147d5e369bdd379e244d3e7383aa10cd59e264 build(deps): bump github.com/bombsimon/wsl/v5 from 4.7.0 to 5.0.0 (#5900)
  • ba13580e580057aa401b35d26f2ff9d8238276ab build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 (#5888)
  • f40f9d70b29e63faa798e685c7024383d536640a build(deps): bump github.com/golangci/misspell from 0.6.0 to 0.7.0 (#5813)
  • b9510d7a4edbd5d9c821075fb56d5d426dae8783 build(deps): bump github.com/golangci/plugin-module-register from 0.1.1 to 0.1.2 (#5838)
  • 8eab120d6baa9675be6076ccd4a1549f76a8e736 build(deps): bump github.com/jgautheron/goconst from 1.8.1 to 1.8.2 (#5825)
  • ed782d7ccc1f046017ec50028911e1ffbcb42726 build(deps): bump github.com/jjti/go-spancheck from 0.6.4 to 0.6.5 (#5784)
  • 6ed4f0401794942029ba0f787510ec38ec0915e0 build(deps): bump github.com/ldez/exptostd from 0.4.3 to 0.4.4 (#5876)
  • cc3f6dedcffd6facae39bde67682be388b1d29d1 build(deps): bump github.com/ldez/gomoddirectives from 0.6.1 to 0.7.0 (#5869)
  • 6b65696820e49f6aec082f4dcdb9014032784721 build(deps): bump github.com/ldez/usetesting from 0.4.3 to 0.5.0 (#5877)
  • 8e38a6ef025ba738f23ca4a34d6d86eec0d99a72 build(deps): bump github.com/manuelarte/embeddedstructfieldcheck from 0.2.1 to 0.3.0 (#5811)
  • fd9a0f2150183f66d8f2f41bbea8706b48881c7d build(deps): bump github.com/manuelarte/funcorder from 0.2.1 to 0.3.0 (#5743)
  • 5a945fd5546aaa14f315105a651a236736217595 build(deps): bump github.com/manuelarte/funcorder from 0.3.0 to 0.5.0 (#5792)
  • 10525556561539351fb38b679be789900ba00c29 build(deps): bump github.com/mgechev/revive from 1.9.0 to 1.10.0 (#5837)
  • ee5054adbef639ee2b48f42668d8e9fb01e99dcc build(deps): bump github.com/santhosh-tekuri/jsonschema/v6 from 6.0.1 to 6.0.2 (#5829)
  • e7c45898cada168d6f2c98e309974d8405d49635 build(deps): bump github.com/sashamelentyev/usestdlibvars from 1.28.0 to 1.29.0 (#5828)
  • fd792aec377b3e473c52e73e8d08b5f0bcdec290 build(deps): bump github.com/securego/gosec/v2 from 2.22.3 to 2.22.4 (#5788)
  • 9f19dcbee0727fcec5f558f0f786268551a48bcb build(deps): bump github.com/securego/gosec/v2 from 2.22.4 to 2.22.5 (#5880)
  • a02b91e66f7ba7aaba3b4f22d7e9dc4aa44ab9ad build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.4 to 4.25.5 (#5849)
  • af60e9f6c7bc26abd82dc0da1d1cc3dc0dddaecf build(deps): bump github.com/sonatard/noctx from 0.1.0 to 0.3.3 (#5771)
  • 8496d6dfb9ab700fc5989326f3b82f4b9d60987a build(deps): bump github.com/sonatard/noctx from 0.3.3 to 0.3.4 (#5895)

... (truncated)

Changelog

Sourced from github.com/golangci/golangci-lint/v2's changelog.

v2.2.1

  1. Linters bug fixes
  • varnamelen: fix configuration

v2.2.0

  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
Commits
  • 66496a9 chore: prepare release
  • f2782fa varnamelen: fix configuration (#5904)
  • 65529a4 docs: update documentation assets (#5903)
  • 1e7781b chore: prepare release
  • d2b7957 dev: add suggested migration for linter configuration (#5902)
  • 82147d5 build(deps): bump github.com/bombsimon/wsl/v5 from 4.7.0 to 5.0.0 (#5900)
  • 6d9ab42 fix: unique version per custom build (#5896)
  • 8496d6d build(deps): bump github.com/sonatard/noctx from 0.3.3 to 0.3.4 (#5895)
  • db7f62b fix: formats consistently the code with gci (#5893)
  • 223ff51 build(deps): bump brace-expansion from 1.1.11 to 1.1.12 in /.github/peril (#5...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 1, 2025
@mmorel-35

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [github.com/golangci/golangci-lint/v2](https://github.com/golangci/golangci-lint) from 2.1.6 to 2.2.1.
- [Release notes](https://github.com/golangci/golangci-lint/releases)
- [Changelog](https://github.com/golangci/golangci-lint/blob/main/CHANGELOG.md)
- [Commits](golangci/golangci-lint@v2.1.6...v2.2.1)

---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint/v2
  dependency-version: 2.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/internal/tools/github.com/golangci/golangci-lint/v2-2.2.1 branch from 0ba2f15 to 99ecf7e Compare July 5, 2025 07:46
@mmorel-35
mmorel-35 enabled auto-merge (squash) July 5, 2025 08:21
@mmorel-35
mmorel-35 merged commit f8f2cd4 into main Jul 5, 2025
4 of 6 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/internal/tools/github.com/golangci/golangci-lint/v2-2.2.1 branch July 5, 2025 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant