Просмотр исходного кода

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)
Hugo Landau 7 месяцев назад
Родитель
Сommit
acf95129bc
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      util/markdownlint.rb

+ 4 - 2
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