summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-10-16 15:50:30 +0100
committerMatt Caswell <matt@openssl.org>2023-10-24 17:34:07 +0100
commitacf95129bce6ea9c42558d1cd5ac7b6b5841577b (patch)
tree339e964409c70c9a77b8993ecf820fffab190c5d
parent514430c3747292edf864bf9d60b54dc3fed02685 (diff)
Adjust mdl configuration
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22405)
-rw-r--r--util/markdownlint.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/markdownlint.rb b/util/markdownlint.rb
index 3833a252ef..2179f15999 100644
--- a/util/markdownlint.rb
+++ b/util/markdownlint.rb
@@ -8,12 +8,14 @@ rule 'MD003', :style => :setext_with_atx
# Code blocks may be fenced or indented, both are OK...
# but they must be consistent throughout each file.
rule 'MD046', :style => :consistent
-# Not possible to line-break tables.
-rule 'MD013', :tables => false
# Bug in mdl, https://github.com/markdownlint/markdownlint/issues/313
exclude_rule 'MD007'
+# Not possible to line-break tables (:tables => false)
+# Not possible to line-break headers (currently cannot be selectively exempted)
+exclude_rule 'MD013'
+
exclude_rule 'MD004' # Unordered list style TODO(fix?)
exclude_rule 'MD005' # Inconsistent indentation for list items at the same level
exclude_rule 'MD006' # Consider starting bulleted lists at the beginning of the line