Skip to content

Commit 9f29cff

Browse files
committed
Add linting config for Github markdown files
1 parent f78a295 commit 9f29cff

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.remarkrc.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import remarkGfm from "remark-gfm";
2+
import lintPreset from "./.remarkrc-lint.js";
3+
4+
5+
export default {
6+
plugins: [
7+
remarkGfm,
8+
lintPreset
9+
]
10+
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"main": "index.js",
77
"scripts": {
8-
"lint": "eslint . ; remark --no-stdout --frail specs/",
8+
"lint": "eslint . ; remark --no-stdout --frail .",
99
"build": "remark --rc-path specs/.remarkrc-build.js --output web/"
1010
},
1111
"license": "MIT",

0 commit comments

Comments
 (0)