From acf95129bce6ea9c42558d1cd5ac7b6b5841577b Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Mon, 16 Oct 2023 15:50:30 +0100 Subject: [PATCH] Adjust mdl configuration Reviewed-by: Matthias St. Pierre Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/22405) --- util/markdownlint.rb | 6 ++++-- 1 file 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