1
0
mirror of https://github.com/corona-warn-app/cwa-documentation synced 2024-10-31 22:58:48 +01:00

Start configuring MD linter

This commit is contained in:
Sebastian Wolf 2020-07-13 23:08:16 +02:00
parent 1b27867319
commit 7eca45d0b9
No known key found for this signature in database
GPG Key ID: B53C9059C9EEFDC8
3 changed files with 37 additions and 9 deletions

28
.markdownlint.json Normal file
View File

@ -0,0 +1,28 @@
{
"default": true,
"MD013": false,
"MD033": {
"allowed_elements": [
"a",
"blockquote",
"br",
"code",
"em",
"hr",
"li",
"ol",
"p",
"pre",
"sup",
"table",
"tbody",
"td",
"th",
"thead",
"tr",
"u",
"ul"
]
},
"MD034": false
}

16
package-lock.json generated
View File

@ -1748,9 +1748,9 @@
} }
}, },
"markdownlint-cli": { "markdownlint-cli": {
"version": "0.23.1", "version": "0.23.2",
"resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.23.1.tgz", "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.23.2.tgz",
"integrity": "sha512-UARWuPILksAcVLTosUv1F1tLognNYQ/qjLRIgWwQAYqdl3QQrTPurU/X9Z2jrdAJYlOim868QsufxjYJpH0K7Q==", "integrity": "sha512-OSl5OZ8xzGN6z355cqRkiq67zPi3reJimklaF72p0554q85Dng5ToOjjSB9tDKZebSt85jX8cp+ruoQlPqOsPA==",
"requires": { "requires": {
"commander": "~2.9.0", "commander": "~2.9.0",
"deep-extend": "~0.5.1", "deep-extend": "~0.5.1",
@ -1761,8 +1761,8 @@
"jsonc-parser": "~2.2.0", "jsonc-parser": "~2.2.0",
"lodash.differencewith": "~4.5.0", "lodash.differencewith": "~4.5.0",
"lodash.flatten": "~4.4.0", "lodash.flatten": "~4.4.0",
"markdownlint": "~0.20.3", "markdownlint": "~0.20.4",
"markdownlint-rule-helpers": "~0.10.0", "markdownlint-rule-helpers": "~0.11.0",
"minimatch": "~3.0.4", "minimatch": "~3.0.4",
"minimist": "~1.2.5", "minimist": "~1.2.5",
"rc": "~1.2.7" "rc": "~1.2.7"
@ -1788,9 +1788,9 @@
} }
}, },
"markdownlint-rule-helpers": { "markdownlint-rule-helpers": {
"version": "0.10.0", "version": "0.11.0",
"resolved": "https://registry.npmjs.org/markdownlint-rule-helpers/-/markdownlint-rule-helpers-0.10.0.tgz", "resolved": "https://registry.npmjs.org/markdownlint-rule-helpers/-/markdownlint-rule-helpers-0.11.0.tgz",
"integrity": "sha512-0e8VUTjNdQwS7hTyNan9oOLsy4a7KEsXo3fxKMDRFRk6Jn+pLB3iKZ3mj/m6ECrlOUCxPYYmgOmmyk3bSdbIvw==" "integrity": "sha512-PhGii9dOiDJDXxiRMpK8N0FM9powprvRPsXALgkjlSPTwLh6ymH+iF3iUe3nq8KGu26tclFBlLL5xAGy/zb7FA=="
}, },
"marked": { "marked": {
"version": "0.8.2", "version": "0.8.2",

View File

@ -8,7 +8,7 @@
"markdown-link-check": "^3.8.1", "markdown-link-check": "^3.8.1",
"markdown-spellcheck": "^1.3.1", "markdown-spellcheck": "^1.3.1",
"markdownlint": "^0.20.4", "markdownlint": "^0.20.4",
"markdownlint-cli": "^0.23.1", "markdownlint-cli": "^0.23.2",
"npm-run-all": "^4.1.5" "npm-run-all": "^4.1.5"
}, },
"devDependencies": {}, "devDependencies": {},