From 4f07994bdc3d23421cf3941af3edc18c05ffc94b Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Wed, 25 Feb 2026 19:31:57 +0300 Subject: [PATCH] Dep: add noblanks linter --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b185d27..7030b5c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: setconfig run lint setup-whisper build-whisper download-whisper-model docker-up docker-down docker-logs noextra-run installdelve checkdelve +.PHONY: setconfig run lint install-linters setup-whisper build-whisper download-whisper-model docker-up docker-down docker-logs noextra-run installdelve checkdelve run: setconfig go build -tags extra -o gf-lt && ./gf-lt @@ -21,8 +21,11 @@ installdelve: checkdelve: which dlv &>/dev/null || installdelve +install-linters: ## Install additional linters (noblanks) + go install github.com/GrailFinder/noblanks-linter/cmd/noblanks@latest + lint: ## Run linters. Use make install-linters first. - golangci-lint run -c .golangci.yml ./... + golangci-lint run -c .golangci.yml ./...; noblanks ./... # Whisper STT Setup (in batteries directory) setup-whisper: build-whisper download-whisper-model