From: Laurent Mazet Date: Wed, 6 May 2020 22:52:46 +0000 (+0200) Subject: add eslint rule X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=10af864de013682e411c3e42442b255355a986b0;p=trivabble.git add eslint rule --- diff --git a/Makefile b/Makefile index 2b416d4..cf4b247 100644 --- a/Makefile +++ b/Makefile @@ -4,10 +4,18 @@ PORT = 3000 help: @echo make lang: build translation files + @echo make eslint: use ESLint to check code standard conformence @echo make start-dev-server: start a development server lang: cd l10n; make +eslint: + -npx eslint server/trivabble-server.js + -npx eslint public/alert.js + -npx eslint public/config.js + -npx eslint public/l10n.js + -npx eslint public/trivabble.js + start-dev-server: cd server && make start-dev-server