Skip to content

Commit fceda19

Browse files
chore(deps): Update dependency golangci/golangci-lint to v2.15.0 (#92)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [golangci/golangci-lint](https://redirect.github.com/golangci/golangci-lint) | minor | `v2.13.2` → `v2.15.0` | --- ### Release Notes <details> <summary>golangci/golangci-lint (golangci/golangci-lint)</summary> ### [`v2.15.0`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2150) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.14.0...v2.15.0) *Released on 2026-10-16* 1. Linters new features or changes - `errcheck`: from 1.20.0 to 1.30.0 - `exhaustive`: from 0.13.0 to 0.15.0 (⚠️ changes) - `gocognit`: from 1.2.1 to 1.3.0 - `golines`: from 0.15.0 to 0.16.0 - `govet-modernize`: from 0.50.0 to 0.52.0 - `loggercheck`: from 0.12.0 to 0.13.0 - `predeclared`: from 0.2.2 to 0.3.0 - `wrapcheck`: from 2.12.0 to 2.13.0 2. Linters bug fixes - `bidichk`: from 0.3.3 to 0.3.4 - `canonicalheader`: from [`a25c71c`](https://redirect.github.com/golangci/golangci-lint/commit/a25c71c521f6) to [`e18e5c5`](https://redirect.github.com/golangci/golangci-lint/commit/e18e5c5a078f) - `gofumpt`: improve deprecation logs - `gosec`: improve concurrency default value - `iface`: from 1.5.1 to 1.5.3 - `paralleltest`: from 1.0.15 to 1.0.16 - `revive`: from 1.17.0 to 1.17.1 - `revive`: the rules `context-keys-type`, `errorf`, `modifies-value-receiver`, `range-val-address`, `string-of-int`, `time-equal`, `time-naming`, `unexported-return`, `unhandled-error`, `var-declaration` are working (less randomly). - `rowserrcheck`: from [`c5f79b8`](https://redirect.github.com/golangci/golangci-lint/commit/c5f79b8a11ba) to [`e0740d5`](https://redirect.github.com/golangci/golangci-lint/commit/e0740d52dee8) - `staticcheck`: from 0.8.1 to 0.8.2 3. Bug fixes - fix: compute custom version hash with module versions - fix: env vars loading (related to `revive`) ⚠️ Changes of the `exhaustive` linter: - The replaced options still exists, and partially works, but they are deprecated. - The options `explicit-exhaustive-switch` and `explicit-exhaustive-map` have been replaced by `explicit-exhaustive`. - The `check` the value `map` has been replaced by `mapliteral`. - The option `ignore-enum-members` (string) has been replaced by `ignore-constants` (slice). - The option `ignore-enum-types` (string) has been replaced by `ignore-types` (slice). - New report messages. - The linter is a now a "slow" linter. ### [`v2.14.0`](https://redirect.github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2140) [Compare Source](https://redirect.github.com/golangci/golangci-lint/compare/v2.13.2...v2.14.0) *Released on 2026-09-24* 1. Bug fixes - fix: cache of facts reloading 2. Linters new features or changes - `bodyclose`: from [`73d1f95`](https://redirect.github.com/golangci/golangci-lint/commit/73d1f95b84b4) to [`857993a`](https://redirect.github.com/golangci/golangci-lint/commit/857993a2939c) (new directive `handled`) - `exhaustive`: from 0.12.0 to 0.13.0 - `exhaustruct_v5`: from 5.0.3 to 5.2.0 (new option: `allow-empty-blank-assignments`) - `go-check-sumtype`: from 0.3.1 to [`ae6904d`](https://redirect.github.com/golangci/golangci-lint/commit/ae6904d28606) - `gocritic`: from 0.14.4 to 0.15.0 - `gofumpt`: from 0.11.0 to 0.12.0 - `gomoddirectives`: from 0.9.0 to 0.10.0 - `gosec`: from 2.28.0 to 2.29.0 (re-enable `G407`) - `govet-modernize`: from 0.49.0 to 0.50.0 - `loggercheck`: from 0.11.0 to 0.12.0 - `revive`: from 1.15.0 to 1.17.0 (new rules: `marshal-receiver`, `multiline-if-init`, `use-slices-concat`) - `tagliatelle`: from 0.7.2 to 0.8.0 3. Linters bug fixes - `fatcontext`: from 0.10.0 to 0.10.1 - `flock`: from 0.13.0 to 0.13.1 - `godoclint`: from 0.11.2 to 0.11.4 - `protogetter`: from 0.3.21 to 1.0.1 - `recvcheck`: from 0.3.0 to 0.3.1 - `tagalign`: from 1.4.3 to 1.4.4 </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month (`* 0-3 1 * *`) - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xOTUuMiIsInVwZGF0ZWRJblZlciI6IjQzLjE5NS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
1 parent 88c371a commit fceda19

0 file changed

File tree

    0 commit comments

    Comments
     (0)