From c25fa49e01d8998fdc4b41ce50bb106349062015 Mon Sep 17 00:00:00 2001 From: logikonline Date: Fri, 9 Jan 2026 16:33:32 -0500 Subject: [PATCH] fix: unset GOEXPERIMENT for linter compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The jsonv2 experiment may not be available in all Go versions. Unset GOEXPERIMENT along with GOTOOLCHAIN=local for the linter. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6fdef76bd5..72085cd711 100644 --- a/Makefile +++ b/Makefile @@ -377,11 +377,11 @@ lint-spell-fix: ## lint spelling and fix issues .PHONY: lint-go lint-go: ## lint go files - GOTOOLCHAIN=local $(GO) run $(GOLANGCI_LINT_PACKAGE) run + GOEXPERIMENT= GOTOOLCHAIN=local $(GO) run $(GOLANGCI_LINT_PACKAGE) run .PHONY: lint-go-fix lint-go-fix: ## lint go files and fix issues - GOTOOLCHAIN=local $(GO) run $(GOLANGCI_LINT_PACKAGE) run --fix + GOEXPERIMENT= GOTOOLCHAIN=local $(GO) run $(GOLANGCI_LINT_PACKAGE) run --fix # workaround step for the lint-go-windows CI task because 'go run' can not # have distinct GOOS/GOARCH for its build and run steps