From 8a9461dbfe80337bd72799cc49b6912878447f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Neum=C3=BCller?= Date: Tue, 13 Jul 2021 10:50:09 +0200 Subject: [PATCH 1/3] mdlint: Use named rules. --- .markdownlint.yaml | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.markdownlint.yaml b/.markdownlint.yaml index d2a0d946e79..a7e7a3c1174 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,23 +1,11 @@ # Default state for all rules default: true -# ul-style -MD004: false - -# line-length -MD013: false - -# no-duplicate-header -MD024: +ul-style: false +line-length: false +no-duplicate-header: siblings_only: true - -# ol-prefix -MD029: +ol-prefix: style: ordered - -# no-inline-html -MD033: false - -# fenced-code-language -MD040: false - +no-inline-html: false +fenced-code-language: false From b79c96c08eadcdab41fbf82f484f3ad273c73b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Neum=C3=BCller?= Date: Tue, 13 Jul 2021 11:44:13 +0200 Subject: [PATCH 2/3] Add link to docs. --- .markdownlint.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.markdownlint.yaml b/.markdownlint.yaml index a7e7a3c1174..0e42820d46a 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,3 +1,6 @@ +# See https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md +# and https://github.com/markdownlint/markdownlint/blob/master/docs/configuration.md + # Default state for all rules default: true From 289e6a11ab79fadd84795ad8bef1425a3cdcde55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Neum=C3=BCller?= Date: Tue, 13 Jul 2021 11:48:13 +0200 Subject: [PATCH 3/3] Use correct markdownlint in links. --- .markdownlint.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.markdownlint.yaml b/.markdownlint.yaml index 0e42820d46a..61e39a0a22f 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,5 +1,5 @@ -# See https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md -# and https://github.com/markdownlint/markdownlint/blob/master/docs/configuration.md +# See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md +# and https://github.com/DavidAnson/markdownlint/blob/main/README.md # Default state for all rules default: true