summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-10 20:32:09 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-10 20:32:09 -0800
commit001a76a95ca38e696a4f4c759b595a9556d4f660 (patch)
tree7dedc1ed8c1809319c5435b42031dd5c57600e7e /Makefile
parent35005ade4bcf02d5238ae4d7e2c5b63b501f7f22 (diff)
Added eslint.json and 'lint' target in Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4f1327e..926ccd6 100644
--- a/Makefile
+++ b/Makefile
@@ -161,6 +161,9 @@ testjs: $(SPEC)
jshint:
jshint ${JSMODULES}
+lint:
+ eslint -c eslint.json ${JSMODULES} js/bin/commonmark
+
benchjs:
node js/bench.js ${BENCHINP}