diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-10 20:32:09 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-10 20:32:09 -0800 |
commit | 001a76a95ca38e696a4f4c759b595a9556d4f660 (patch) | |
tree | 7dedc1ed8c1809319c5435b42031dd5c57600e7e | |
parent | 35005ade4bcf02d5238ae4d7e2c5b63b501f7f22 (diff) |
Added eslint.json and 'lint' target in Makefile.
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | eslint.json | 9 |
2 files changed, 12 insertions, 0 deletions
@@ -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, + } +} |