From b1dade8bb90a08514801e7900c8aa2a4302e5f8a Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Mon, 28 Dec 2020 10:53:05 +0100 Subject: [PATCH] add a rule for tidy checker --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index cf855d8..1015463 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,8 @@ PORT = 3000 ESLINT?=eslint +TIDY?=tidy + ifeq (, $(shell which $(firstword ${ESLINT}))) ESLINT?=npx eslint endif @@ -34,5 +36,8 @@ public/dict/list.js: eslint: -${ESLINT} **/*.js +tidy: + -${TIDY} -xml -errors -q public/*.html + start-dev-server: lang cd server && make start-dev-server -- 2.30.2