]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
mdl: Don't enforce one space after list markers
authorRichard Levitte <levitte@openssl.org>
Thu, 12 May 2022 07:21:15 +0000 (09:21 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 19 May 2022 08:45:08 +0000 (10:45 +0200)
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 <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18297)

util/markdownlint.rb

index 159bf20870ec578e31912f6a7b32ef040b85dd8c..51814c29f94e26a1a4a37eb5fae4ca3458931fa8 100644 (file)
@@ -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!)