diff options
author | Richard Levitte <levitte@openssl.org> | 2022-05-12 09:21:15 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2022-05-19 10:47:42 +0200 |
commit | fa229d4e07267052adaa7a52281a1a1c1ab1f2f0 (patch) | |
tree | 418246aba9d6711897ec35a40a2e0c8cc22e8dc0 /util | |
parent | 3667043a1dbfa97cc743183f5183129645773cad (diff) |
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 <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18297)
(cherry picked from commit 2046f80bc84deff5f3b8e3f8ffe54528bc684658)
Diffstat (limited to 'util')
-rw-r--r-- | util/markdownlint.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/markdownlint.rb b/util/markdownlint.rb index 159bf20870..51814c29f9 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!) |