Merge pull request #32320 from mmorel-35/gomodguard_v2

fix(linters): update golangci-lint to 2.12.2
This commit is contained in:
George Jenkins
2026-07-14 13:39:07 -07:00
committed by GitHub
2 changed files with 6 additions and 7 deletions

2
.github/env vendored
View File

@@ -1,2 +1,2 @@
GOLANG_VERSION=1.26
GOLANGCI_LINT_VERSION=v2.11.3
GOLANGCI_LINT_VERSION=v2.12.2

View File

@@ -27,7 +27,7 @@ linters:
- exhaustive
- fatcontext
- gocritic
- gomodguard
- gomodguard_v2
- govet
- ineffassign
- misspell
@@ -102,12 +102,11 @@ linters:
- whyNoLint
enable-all: true
gomodguard:
gomodguard_v2:
blocked:
modules:
- github.com/evanphx/json-patch:
recommendations:
- github.com/evanphx/json-patch/v5
- module: github.com/evanphx/json-patch
recommendations:
- github.com/evanphx/json-patch/v5
nolintlint:
require-specific: true