Adjust mdl configuration
authorHugo Landau <hlandau@openssl.org>
Mon, 16 Oct 2023 14:50:30 +0000 (15:50 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Oct 2023 16:34:07 +0000 (17:34 +0100)
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)

util/markdownlint.rb

index 3833a252ef3c3ccf3e215febae453f4348d4a121..2179f15999b5bc1fa99ff9f04157a2452f12274d 100644 (file)
@@ -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