From a0b8deec21bd67e2246646f724a2537a6a0630dd Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 17 Feb 2025 17:06:28 +0000 Subject: [PATCH] htdocs.mk: Lint php files via prettier if it's installed Signed-off-by: Jan Lindemann --- make/htdocs.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/make/htdocs.mk b/make/htdocs.mk index 4d45d509..eeee78b6 100644 --- a/make/htdocs.mk +++ b/make/htdocs.mk @@ -51,6 +51,9 @@ endif .%.php.lint: %.php php -l $< +ifneq ($(PRETTIER),) + #$(PRETTIER) --parser html $< >/dev/null +endif touch $@ .%.css.lint: %.css