From cbc388cebdd543deba1a026712d008fab97f4f33 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 9 Apr 2026 20:57:35 +0200 Subject: [PATCH] Add missing nolint:depguard to jsonlegacy.go The other files in modules/json already have //nolint:depguard comments, but jsonlegacy.go was missing it. This causes a lint error when running golangci-lint without GOEXPERIMENT=jsonv2 (which the Makefile sets). Co-Authored-By: Claude (Opus 4.6) --- modules/json/jsonlegacy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/json/jsonlegacy.go b/modules/json/jsonlegacy.go index 83eabad4526f1..99875b96f12ed 100644 --- a/modules/json/jsonlegacy.go +++ b/modules/json/jsonlegacy.go @@ -6,7 +6,7 @@ package json import ( - "encoding/json" + "encoding/json" //nolint:depguard // this package wraps it "io" )