Skip to content

Commit

Permalink
chore: helpful linting failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielwarner committed Sep 19, 2024
1 parent c111cc0 commit 7e8c448
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7e8c448

Please sign in to comment.