From b044ba9937a27004332cd1e2a8d9e66e5c34a8eb Mon Sep 17 00:00:00 2001 From: Terry Howe Date: Sat, 14 Dec 2024 04:26:55 -0700 Subject: [PATCH] chore: add lint make file target Signed-off-by: Terry Howe --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 355ab30a9..2f9bf76fc 100644 --- a/Makefile +++ b/Makefile @@ -145,6 +145,10 @@ check-encoding: ## check file CR/LF encoding fix-encoding: ## fix file CR/LF encoding find cmd internal -type f -name "*.go" -exec sed -i -e "s/\r//g" {} + +.PHONY: lint +lint: ## run CI version of lint + golangci-lint run ./... + .PHONY: tidy tidy: ## go mod tidy GO111MODULE=on $(GO_EXE) mod tidy