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..."