Skip to content

Commit 1d3fe0f

Browse files
Amour1688天泽
andauthored
chore: eslint for markdown (#2145)
Co-authored-by: 天泽 <[email protected]>
1 parent 741897b commit 1d3fe0f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.eslintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"plugins": ["markdown"],
1515
"overrides": [
1616
{
17-
"files": ["**/demo/**"],
17+
"files": ["**/demo/*.md"],
18+
"processor": "markdown/markdown",
1819
"rules": {
1920
"no-console": "off"
2021
}
@@ -33,6 +34,7 @@
3334
"vue/require-prop-types": "off",
3435
"vue/require-default-prop": "off",
3536
"vue/no-reserved-keys": "off",
37+
"vue/comment-directive": "off",
3638
"vue/prop-name-casing": "off",
3739
"vue/max-attributes-per-line": [
3840
2,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"eslint": "^6.8.0",
104104
"eslint-config-prettier": "^6.10.1",
105105
"eslint-plugin-html": "^6.0.0",
106-
"eslint-plugin-markdown": "^1.0.2",
106+
"eslint-plugin-markdown": "^2.0.0-alpha.0",
107107
"eslint-plugin-vue": "^6.2.2",
108108
"fetch-jsonp": "^1.1.3",
109109
"fs-extra": "^8.0.0",

0 commit comments

Comments
 (0)