From 6a07430f1e4e16df6dbba13d96f798f990f67293 Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Thu, 27 Nov 2025 22:17:06 +0000 Subject: [PATCH 1/2] build: Remove redundant golangci-lint configuration Signed-off-by: Paulo Gomes --- .golangci.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index cc13efb..8536a26 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -17,10 +17,6 @@ linters: - common-false-positives - legacy - std-error-handling - paths: - - third_party$ - - builtin$ - - examples$ formatters: enable: - gci @@ -29,7 +25,3 @@ formatters: - goimports exclusions: generated: lax - paths: - - third_party$ - - builtin$ - - examples$ From dda753d67f9d34ec96cd1141e4b21280fcaf3b01 Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Thu, 27 Nov 2025 22:17:32 +0000 Subject: [PATCH 2/2] build: Configure renovate for golangci-lint Signed-off-by: Paulo Gomes --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index c84d73f..5657870 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ GOCMD = go GOTEST = $(GOCMD) test +# renovate: datasource=github-tags depName=golangci/golangci-lint GOLANGCI_VERSION ?= v2.1.6 TOOLS_BIN := $(shell mkdir -p build/tools && realpath build/tools) @@ -18,14 +19,6 @@ validate: validate-lint validate-dirty ## Run validation checks. validate-lint: $(GOLANGCI) $(GOLANGCI) run -define go-install-tool -@[ -f $(1) ] || { \ -set -e ;\ -echo "Downloading $(2)" ;\ -GOBIN=$(TOOLS_BIN) go install $(2) ;\ -} -endef - validate-dirty: ifneq ($(shell git status --porcelain --untracked-files=no),) @echo worktree is dirty