From 7eca45d0b9783b262777a3d637256e5f316a755c Mon Sep 17 00:00:00 2001 From: Sebastian Wolf Date: Mon, 13 Jul 2020 23:08:16 +0200 Subject: [PATCH] Start configuring MD linter --- .markdownlint.json | 28 ++++++++++++++++++++++++++++ package-lock.json | 16 ++++++++-------- package.json | 2 +- 3 files changed, 37 insertions(+), 9 deletions(-) create mode 100644 .markdownlint.json diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..77a9a37 --- /dev/null +++ b/.markdownlint.json @@ -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 +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 9a5109f..d058164 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1748,9 +1748,9 @@ } }, "markdownlint-cli": { - "version": "0.23.1", - "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.23.1.tgz", - "integrity": "sha512-UARWuPILksAcVLTosUv1F1tLognNYQ/qjLRIgWwQAYqdl3QQrTPurU/X9Z2jrdAJYlOim868QsufxjYJpH0K7Q==", + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.23.2.tgz", + "integrity": "sha512-OSl5OZ8xzGN6z355cqRkiq67zPi3reJimklaF72p0554q85Dng5ToOjjSB9tDKZebSt85jX8cp+ruoQlPqOsPA==", "requires": { "commander": "~2.9.0", "deep-extend": "~0.5.1", @@ -1761,8 +1761,8 @@ "jsonc-parser": "~2.2.0", "lodash.differencewith": "~4.5.0", "lodash.flatten": "~4.4.0", - "markdownlint": "~0.20.3", - "markdownlint-rule-helpers": "~0.10.0", + "markdownlint": "~0.20.4", + "markdownlint-rule-helpers": "~0.11.0", "minimatch": "~3.0.4", "minimist": "~1.2.5", "rc": "~1.2.7" @@ -1788,9 +1788,9 @@ } }, "markdownlint-rule-helpers": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/markdownlint-rule-helpers/-/markdownlint-rule-helpers-0.10.0.tgz", - "integrity": "sha512-0e8VUTjNdQwS7hTyNan9oOLsy4a7KEsXo3fxKMDRFRk6Jn+pLB3iKZ3mj/m6ECrlOUCxPYYmgOmmyk3bSdbIvw==" + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/markdownlint-rule-helpers/-/markdownlint-rule-helpers-0.11.0.tgz", + "integrity": "sha512-PhGii9dOiDJDXxiRMpK8N0FM9powprvRPsXALgkjlSPTwLh6ymH+iF3iUe3nq8KGu26tclFBlLL5xAGy/zb7FA==" }, "marked": { "version": "0.8.2", diff --git a/package.json b/package.json index 6f0a2ef..e7782cb 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "markdown-link-check": "^3.8.1", "markdown-spellcheck": "^1.3.1", "markdownlint": "^0.20.4", - "markdownlint-cli": "^0.23.1", + "markdownlint-cli": "^0.23.2", "npm-run-all": "^4.1.5" }, "devDependencies": {},