We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9da525 commit 3b66dc2Copy full SHA for 3b66dc2
.eslintrc
@@ -27,8 +27,5 @@
27
"ecmaFeatures": {
28
"modules": true
29
},
30
- "plugins": [
31
- "markdown"
32
- ],
33
"extends": "eslint:recommended"
34
}
.md.eslintrc
@@ -0,0 +1,9 @@
1
+{
2
+ "rules": {
3
+ "no-undef": 0
4
+ },
5
+ "plugins": [
6
+ "markdown"
7
+ ],
8
+ "extends": ".eslintrc"
9
+}
package.json
@@ -22,7 +22,7 @@
22
"start": "gitbook serve",
23
"build": "gitbook build",
24
"eslint": "eslint src/**/*.js",
25
- "eslint:md": "eslint --ext .md ja/**/*.md",
+ "eslint:md": "eslint -c .md.eslintrc --ext .md ja/**/*.md",
26
"textlint": "summary-to-path | xargs textlint --rule spellcheck-tech-word",
"test": "mocha --recursive && npm run textlint && npm run eslint:md && npm run eslint && npm run build"
0 commit comments