From 2046f80bc84deff5f3b8e3f8ffe54528bc684658 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 12 May 2022 09:21:15 +0200 Subject: [PATCH] mdl: Don't enforce one space after list markers Common markdown styles usually show 4-column indents to separate the list marker and the list item text. That's a common template for writing new markdown files. On the other hand, we do have some files (such as CHANGES.md) where we use a different style. From a markdown perspective, both are perfectly OK, and there's no reason to enforce either. Therefore, the best thing is to exclude this particular rule. Reviewed-by: Dmitry Belyavskiy Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/18297) --- util/markdownlint.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/util/markdownlint.rb b/util/markdownlint.rb index 159bf20870e..51814c29f94 100644 --- a/util/markdownlint.rb +++ b/util/markdownlint.rb @@ -21,3 +21,4 @@ exclude_rule 'MD024' # Multiple headers with the same content exclude_rule 'MD025' # Multiple top level headers in the same document exclude_rule 'MD026' # Trailing punctuation in header exclude_rule 'MD029' # Ordered list item prefix +exclude_rule 'MD030' # Spaces after list markers (default: 1!) -- 2.47.2