From e09b250ce82577f294d3d528cebdd7c8af6a10fc Mon Sep 17 00:00:00 2001 From: Moses Narrow Date: Sun, 22 Sep 2024 11:08:53 -0500 Subject: [PATCH] split up linter run across smaller sections of the source code --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e95a5d7855..42830c67cc 100644 --- a/Makefile +++ b/Makefile @@ -158,7 +158,10 @@ install-static: ## Install `skywire-visor`, `skywire-cli`, `setup-node` lint: ## Run linters. Use make install-linters first golangci-lint --version - ${OPTS} golangci-lint run -c .golangci.yml ./... + ${OPTS} golangci-lint run -c .golangci.yml skywire.go #break down the linter run over smaller sections of the source code + ${OPTS} golangci-lint run -c .golangci.yml ./cmd/... + ${OPTS} golangci-lint run -c .golangci.yml ./pkg/... + ${OPTS} golangci-lint run -c .golangci.yml ./... lint-windows: ## Run linters. Use make install-linters-windows first powershell 'golangci-lint --version'