htdocs.mk: Lint php files via prettier if it's installed

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-02-17 17:06:28 +00:00
commit a0b8deec21

View file

@ -51,6 +51,9 @@ endif
.%.php.lint: %.php
php -l $<
ifneq ($(PRETTIER),)
#$(PRETTIER) --parser html $< >/dev/null
endif
touch $@
.%.css.lint: %.css