From 320874a61af19bf5213ee1fb96e9f2bdcfe54993 Mon Sep 17 00:00:00 2001 From: Chen Asraf Date: Thu, 4 Dec 2025 13:05:14 +0200 Subject: [PATCH] build: add lint makefile target --- .editorconfig | 4 ++++ Makefile | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..bf254cf --- /dev/null +++ b/.editorconfig @@ -0,0 +1,4 @@ +[Makefile] +indent_style = tab +indent_size = 4 +tab_width = 4 diff --git a/Makefile b/Makefile index a2c9eea..bbbe850 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,10 @@ install: build uninstall: rm -f ~/.local/bin/$(BIN) +.PHONY: lint +lint: + golangci-lint run ./... + .PHONY: precommit-install precommit-install: @echo "Installing pre-commit hooks..."