From 39c34e353802da80a3efb94f53ffd6e21dc50265 Mon Sep 17 00:00:00 2001 From: Carter McKinnon Date: Wed, 18 Oct 2023 08:24:47 -0700 Subject: [PATCH] Add fmt/lint for trailing spaces --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index f7c64c618..40d952791 100644 --- a/Makefile +++ b/Makefile @@ -79,6 +79,7 @@ endif .PHONY: fmt fmt: ## Format the source files $(SHFMT_COMMAND) $(SHFMT_FLAGS) --write $(MAKEFILE_DIR) + hack/fmt-trailing-spaces.sh SHELLCHECK_COMMAND := $(shell which shellcheck) ifeq (, $(SHELLCHECK_COMMAND)) @@ -96,6 +97,7 @@ transform-al2-to-al2023: lint: lint-docs ## Check the source files for syntax and format issues $(SHFMT_COMMAND) $(SHFMT_FLAGS) --diff $(MAKEFILE_DIR) $(SHELLCHECK_COMMAND) --format gcc --severity error $(SHELL_FILES) + hack/lint-trailing-spaces.sh .PHONY: test test: ## run the test-harness