From 001a76a95ca38e696a4f4c759b595a9556d4f660 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 10 Dec 2014 20:32:09 -0800 Subject: Added eslint.json and 'lint' target in Makefile. --- Makefile | 3 +++ eslint.json | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 eslint.json 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} diff --git a/eslint.json b/eslint.json new file mode 100644 index 0000000..cee3ecc --- /dev/null +++ b/eslint.json @@ -0,0 +1,9 @@ +{ + "env": { + "browser": true, + "node": true, + }, + "rules": { + "camelcase": false, + } +} -- cgit v1.2.3