summaryrefslogtreecommitdiffstats
path: root/util/markdownlint.rb
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2022-05-12 09:21:15 +0200
committerRichard Levitte <levitte@openssl.org>2022-05-19 10:45:08 +0200
commit2046f80bc84deff5f3b8e3f8ffe54528bc684658 (patch)
tree5a19f5d8a835584ecb51713fd5c5f37dd6c0eb46 /util/markdownlint.rb
parente4fd3fc379d76d9cd33ea6699268485606447737 (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)
Diffstat (limited to 'util/markdownlint.rb')
-rw-r--r--util/markdownlint.rb1
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!)