From: Richard Levitte Date: Thu, 12 May 2022 07:21:15 +0000 (+0200) Subject: mdl: Don't enforce one space after list markers X-Git-Tag: openssl-3.2.0-alpha1~2646 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2046f80bc84deff5f3b8e3f8ffe54528bc684658;p=thirdparty%2Fopenssl.git 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) --- 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!)