chore: eslint for markdown (#2145)

Co-authored-by: 天泽 <linchengzhang@cai-inc.com>
pull/2247/head^2
Amour1688 2020-05-15 11:18:05 +08:00 committed by GitHub
parent 741897be67
commit 1d3fe0f307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -14,7 +14,8 @@
"plugins": ["markdown"],
"overrides": [
{
"files": ["**/demo/**"],
"files": ["**/demo/*.md"],
"processor": "markdown/markdown",
"rules": {
"no-console": "off"
}
@ -33,6 +34,7 @@
"vue/require-prop-types": "off",
"vue/require-default-prop": "off",
"vue/no-reserved-keys": "off",
"vue/comment-directive": "off",
"vue/prop-name-casing": "off",
"vue/max-attributes-per-line": [
2,

View File

@ -103,7 +103,7 @@
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-markdown": "^1.0.2",
"eslint-plugin-markdown": "^2.0.0-alpha.0",
"eslint-plugin-vue": "^6.2.2",
"fetch-jsonp": "^1.1.3",
"fs-extra": "^8.0.0",