From a836b62fc0dff40c7842a22db2f2b22c30bc4723 Mon Sep 17 00:00:00 2001 From: mluffman Date: Wed, 16 Oct 2024 08:52:06 +0100 Subject: [PATCH] add make lint directive Signed-off-by: mluffman --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 338a6837a..b43440348 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,9 @@ manifests: controller-gen fmt: go fmt ./... +lint: golangci-lint + $(GOLANGCI_LINT) run + # Run go vet against code vet: go vet ./...