chore(deps): update pre-commit hook golangci/golangci-lint to v2.12.0 #154

Merged
renovate merged 1 commits from renovate/golangci-golangci-lint-2.x into main 2026-05-04 13:14:44 +00:00
Owner

This PR contains the following updates:

Package Type Update Change Pending
golangci/golangci-lint repository minor v2.11.4v2.12.0 v2.12.1

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

golangci/golangci-lint (golangci/golangci-lint)

v2.12.0

Compare Source

Released on 2026-05-01

  1. New linters
  2. Linters new features or changes
    • dupl: from f665c8d to c99c5cf (extended detection)
    • funcorder: from 0.5.0 to 0.6.0 (new option: function)
    • goconst: add an option to ignore strings from tests
    • goconst: from 1.8.2 to 1.10.0 (extended detection)
    • gomodguard_v2: from 1.4.1 to 2.1.0 (major version with new configuration)
    • gosec: from 619ce21 to 2.26.1 (new checks: G124, G708, G709, G710)
    • govet: add inline analyzer
    • makezero: from 2.1.0 to 2.2.1 (support slice type aliases)
    • paralleltest: expose checkcleanup option
    • sloglint: from 0.11.1 to 0.12.0 (new options: allowed-keys, custom-funcs)
    • wsl_v5: from 5.6.0 to 5.8.0 (new option: cuddle-max-statements; new checks: after-decl, after-defer, after-expr, after-go, cuddle-group)
  3. Linters bug fixes
    • forbidigo: from 2.3.0 to 2.3.1
    • godot: from 1.5.4 to 1.5.6
    • govet-modernize: from 0.43.0 to 0.44.0
    • ireturn: from 0.4.0 to 0.4.1
    • rowserrcheck: from 1.1.1 to c5f79b8
  4. Misc.
    • Decrease cache entropy
    • Embed the JSON schema in the binary
    • Filter env vars when cloning the repository with the custom command

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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 this update again.


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

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | repository | minor | `v2.11.4` → `v2.12.0` | `v2.12.1` | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>golangci/golangci-lint (golangci/golangci-lint)</summary> ### [`v2.12.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2120) [Compare Source](https://github.com/golangci/golangci-lint/compare/v2.11.4...v2.12.0) *Released on 2026-05-01* 1. New linters - Add `clickhouselint` linter <https://github.com/ClickHouse/clickhouse-go-linter> 2. Linters new features or changes - `dupl`: from [`f665c8d`](https://github.com/golangci/golangci-lint/commit/f665c8d69b32) to [`c99c5cf`](https://github.com/golangci/golangci-lint/commit/c99c5cf5c202) (extended detection) - `funcorder`: from 0.5.0 to 0.6.0 (new option: `function`) - `goconst`: add an option to ignore strings from tests - `goconst`: from 1.8.2 to 1.10.0 (extended detection) - `gomodguard_v2`: from 1.4.1 to 2.1.0 (major version with new configuration) - `gosec`: from [`619ce21`](https://github.com/golangci/golangci-lint/commit/619ce2117e08) to 2.26.1 (new checks: `G124`, `G708`, `G709`, `G710`) - `govet`: add `inline` analyzer - `makezero`: from 2.1.0 to 2.2.1 (support slice type aliases) - `paralleltest`: expose `checkcleanup` option - `sloglint`: from 0.11.1 to 0.12.0 (new options: `allowed-keys`, `custom-funcs`) - `wsl_v5`: from 5.6.0 to 5.8.0 (new option: `cuddle-max-statements`; new checks: `after-decl`, `after-defer`, `after-expr`, `after-go`, `cuddle-group`) 3. Linters bug fixes - `forbidigo`: from 2.3.0 to 2.3.1 - `godot`: from 1.5.4 to 1.5.6 - `govet-modernize`: from 0.43.0 to 0.44.0 - `ireturn`: from 0.4.0 to 0.4.1 - `rowserrcheck`: from 1.1.1 to [`c5f79b8`](https://github.com/golangci/golangci-lint/commit/c5f79b8) 4. Misc. - Decrease cache entropy - Embed the JSON schema in the binary - Filter env vars when cloning the repository with the `custom` command </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **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 this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE0MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate added 1 commit 2026-05-04 13:08:46 +00:00
chore(deps): update pre-commit hook golangci/golangci-lint to v2.12.0
renovate/stability-days Updates have met minimum release age requirement
presenter / vulnerabilities (pull_request) Successful in 1m51s
presenter / test (pull_request) Successful in 2m25s
pre-commit / pre-commit (pull_request) Successful in 5m22s
3d8c29dd7a
renovate scheduled this pull request to auto merge when all checks succeed 2026-05-04 13:08:48 +00:00

Coverage Report

Total coverage: 100%

## Coverage Report Total coverage: **100%**
renovate merged commit f157d36c97 into main 2026-05-04 13:14:44 +00:00
renovate deleted branch renovate/golangci-golangci-lint-2.x 2026-05-04 13:14:45 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shiny/presenter#154