Skip to content

chore(deps): bump github.com/golangci/golangci-lint/v2 from 2.0.2 to 2.1.1 - #3436

Merged
github-actions[bot] merged 2 commits into
developfrom
dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.1.1
Apr 14, 2025
Merged

chore(deps): bump github.com/golangci/golangci-lint/v2 from 2.0.2 to 2.1.1#3436
github-actions[bot] merged 2 commits into
developfrom
dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.1.1

Conversation

@dependabot

@dependabotdependabotBot commented on behalf of githubApr 14, 2025

Copy link
Copy Markdown
Contributor

Bumps github.com/golangci/golangci-lint/v2 from 2.0.2 to 2.1.1.

Release notes

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

v2.1.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

The release process of v2.1.0 failed due to a regression inside goreleaser.

The binaries of v2.1.0 have been published, but not the other artifacts (AUR, Docker, etc.).

v2.1.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

  • a39e032e73ac05b8caceedbe61a380bd62c866d9 Add funcorder linter (#5630)
  • 61bbcc4ed4330b862bfdb1dc858c0e7190af1ed1 build(deps): bump dependencies in the linter-testdata group (#5691)
  • 3f0afe4a96174dd8ea4a0d2f3559898eca8b2b4d build(deps): bump github.com/Antonboom/testifylint from 1.6.0 to 1.6.1 (#5654)
  • d0b46ebbe9d099deb0ff31d51117f2877d1d38ad build(deps): bump github.com/Crocmagnon/fatcontext from 0.7.1 to 0.7.2 (#5685)
  • d1f1519139d6fbac7f6e6c38b412cee6cab3c83f build(deps): bump github.com/alecthomas/chroma/v2 from 2.15.0 to 2.16.0 (#5690)
  • 18a264faab73706c47fb2b690fe215ab4edf8099 build(deps): bump github.com/alexkohler/nakedret/v2 from 2.0.5 to 2.0.6 (#5681)
  • df1b1bb8064cd61af00fda63edda117fcc76b6b2 build(deps): bump github.com/alingse/nilnesserr from 0.1.2 to 0.2.0 (#5693)
  • ab604ca7d6f28f011ce00d48c3905c8aebd76dd0 build(deps): bump github.com/bombsimon/wsl/v4 from 4.6.0 to 4.7.0 (#5689)
  • a7a49fed797beb0d195ce6daf33355ff30fe5f3c build(deps): bump github.com/butuzov/ireturn from 0.3.1 to 0.4.0 (#5710)
  • 38d2facb815a96a528410f98f472ef623479f7e2 build(deps): bump github.com/firefart/nonamedreturns from 1.0.5 to 1.0.6 (#5687)
  • a1a9836c44c1aecf0913a181f6934a21285f1feb build(deps): bump github.com/ghostiam/protogetter from 0.3.12 to 0.3.13 (#5658)
  • 99132265db0c1db0819509334cebc15fc03fc496 build(deps): bump github.com/golangci/unconvert to HEAD (#5713)
  • 72fe3b653b5e4f0cea2a55da2241f9f78209f60d build(deps): bump github.com/jgautheron/goconst from 1.7.1 to 1.8.1 (#5712)
  • 86cc7c6bfbe4d6ca515f9c45b58cfa03cfd0c3da build(deps): bump github.com/kunwardeep/paralleltest from 1.0.10 to 1.0.13 (#5636)
  • ed7e596a16a405504c1dcb9737e885bdd07ecacd build(deps): bump github.com/kunwardeep/paralleltest from 1.0.13 to 1.0.14 (#5657)
  • 30318270c6fbb603c6a9b8655fbea44f1e16f7e7 build(deps): bump github.com/mgechev/revive from 1.7.0 to 1.8.0 (#5663)
  • e0e6eae1797b9b8d4beeeecff15104ff4e75e180 build(deps): bump github.com/mgechev/revive from 1.8.0 to 1.9.0 (#5721)
  • 06cc97c52b79176477558b6d1222ee504d25f02b build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4 (#5711)
  • 835bf75c67768b08e0e47d563454288e217e87cb build(deps): bump github.com/polyfloyd/go-errorlint from 1.7.1 to 1.8.0 (#5686)
  • 7eac7fabc2295dd289e980f5683852bfc385fda8 build(deps): bump github.com/securego/gosec/v2 from 2.22.2 to 2.22.3 (#5694)
  • be9882baa20f41536aa8a6c59e54b67a3af51348 build(deps): bump github.com/shirou/gopsutil/v4 from 4.25.2 to 4.25.3 (#5680)
  • 516e0f042ffb6ec5fdcdcfeadfea6ea35f5bdd54 build(deps): bump github.com/timonwong/loggercheck from 0.10.1 to 0.11.0 (#5715)
  • fe1e49e27eb6c80e838661deb317613de7116af7 build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.10.0 to 2.11.0 (#5656)
  • 756a7b550cfbdeababc9d1f6bafafe2d9c5e03af build(deps): bump go-simpler.org/sloglint from 0.10.0 to 0.10.1 (#5696)
  • 638ece2c7a4773d38dc7a499e11618424914d3de build(deps): bump go-simpler.org/sloglint from 0.10.1 to 0.11.0 (#5698)

... (truncated)

Changelog

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

v2.1.1

The release process of v2.1.0 failed due to a regression inside goreleaser.

The binaries of v2.1.0 have been published, but not the other artifacts (AUR, Docker, etc.).

v2.1.0

  1. Enhancements
    • Add an option to display absolute paths (--path-mode=abs)
    • Add configuration path placeholder (${config-path})
    • Add warn-unused option for fmt command
    • Colored diff for fmt command (golangci-lint fmt --diff-colored)
  2. New linters
  3. Linters new features or changes
    • go-errorlint: from 1.7.1 to 1.8.0 (automatic error comparison and type assertion fixes)
    • ⚠️goconst: ignore-strings is deprecated and replaced by ignore-string-values
    • goconst: from 1.7.1 to 1.8.1 (new options: find-duplicates, eval-const-expressions)
    • govet: add httpmux analyzer
    • nilnesserr: from 0.1.2 to 0.2.0 (detect more cases)
    • paralleltest: from 1.0.10 to 1.0.14 (checks only _test.go files)
    • revive: from 1.7.0 to 1.9.0 (support kebab case for setting names)
    • sloglint: from 0.9.0 to 0.11.0 (autofix, new option msg-style, suggest slog.DiscardHandler)
    • wrapcheck: from 2.10.0 to 2.11.0 (new option report-internal-errors)
    • wsl: from 4.6.0 to 4.7.0 (cgo files are always excluded)
  4. Linters bug fixes
    • fatcontext: from 0.7.1 to 0.7.2
    • gocritic: fix importshadow checker
    • gosec: from 2.22.2 to 2.22.3
    • ireturn: from 0.3.1 to 0.4.0
    • loggercheck: from 0.10.1 to 0.11.0
    • nakedret: from 2.0.5 to 2.0.6
    • nonamedreturns: from 1.0.5 to 1.0.6
    • protogetter: from 0.3.12 to 0.3.13
    • testifylint: from 1.6.0 to 1.6.1
    • unconvert: update to HEAD
  5. Misc.
    • Fixes memory leaks when using go1.(N) with golangci-lint built with go1.(N-X)
    • Adds golangci-lint-fmt pre-commit hook
  6. Documentation
    • Improvements
    • Updates section about vscode integration
Commits

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)

Bumps [github.com/golangci/golangci-lint/v2](https://github.com/golangci/golangci-lint) from 2.0.2 to 2.1.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.0.2...v2.1.1)
---
updated-dependencies:
- dependency-name: github.com/golangci/golangci-lint/v2
dependency-version: 2.1.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotBot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 14, 2025
@dependabot
dependabotBot requested a review from a team as a code ownerApril 14, 2025 04:43
@github-actions
github-actionsBot enabled auto-merge (squash) April 14, 2025 04:43
@github-actions
github-actionsBot merged commit 12cd52b into developApr 14, 2025
@github-actions
github-actionsBot deleted the dependabot/go_modules/github.com/golangci/golangci-lint/v2-2.1.1 branch April 14, 2025 05:35
@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 14438204328

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 50.961%

TotalsCoverage Status
Change from base Build 14438194359:0.0%
Covered Lines:6975
Relevant Lines:13687

💛 - Coveralls

@github-actionsgithub-actionsBot mentioned this pull request Apr 15, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependenciesPull requests that update a dependency filegoPull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@coveralls@sweatybridge