From 7e8c4484c063d015467134c74adfa10fa7a2fe65 Mon Sep 17 00:00:00 2001 From: Nathaniel MacArthur-Warner Date: Thu, 19 Sep 2024 11:11:27 -0400 Subject: [PATCH] chore: helpful linting failure message --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 629cbdf56..eb7f37705 100644 --- a/Makefile +++ b/Makefile @@ -22,9 +22,9 @@ unlink: .PHONY: lint lint: - npm --prefix es-ds-styles run lint - npm --prefix es-ds-components run lint - npm --prefix es-ds-docs run lint + npm --prefix es-ds-styles run lint || { echo "Linting failed. Forgot to run 'make format'?"; exit 1; } + npm --prefix es-ds-components run lint || { echo "Linting failed. Forgot to run 'make format'?"; exit 1; } + npm --prefix es-ds-docs run lint || { echo "Linting failed. Forgot to run 'make format'?"; exit 1; } .PHONY: format format: