cmark

My personal build of CMark ✏️

Commit
001a76a95ca38e696a4f4c759b595a9556d4f660
Parent
35005ade4bcf02d5238ae4d7e2c5b63b501f7f22
Author
John MacFarlane <jgm@berkeley.edu>
Date

Added eslint.json and 'lint' target in Makefile.

Diffstat

2 files changed, 12 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified Makefile 3 3 0
Added eslint.json 9 9 0
diff --git 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
@@ -0,0 +1,9 @@
+{
+    "env": {
+        "browser": true,
+        "node": true,
+    },
+    "rules": {
+        "camelcase": false,
+    }
+}