xref: /openssl/util/markdownlint.rb (revision acf95129)
1# markdownlint style rules for OpenSSL
2# See https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
3
4all
5
6# Use --- and === for H1 and H2.
7rule 'MD003', :style => :setext_with_atx
8# Code blocks may be fenced or indented, both are OK...
9# but they must be consistent throughout each file.
10rule 'MD046', :style => :consistent
11
12# Bug in mdl, https://github.com/markdownlint/markdownlint/issues/313
13exclude_rule 'MD007'
14
15# Not possible to line-break tables (:tables => false)
16# Not possible to line-break headers (currently cannot be selectively exempted)
17exclude_rule 'MD013'
18
19exclude_rule 'MD004' # Unordered list style TODO(fix?)
20exclude_rule 'MD005' # Inconsistent indentation for list items at the same level
21exclude_rule 'MD006' # Consider starting bulleted lists at the beginning of the line
22exclude_rule 'MD014' # Dollar signs used before commands without showing output
23exclude_rule 'MD023' # Headers must start at the beginning of the line
24exclude_rule 'MD024' # Multiple headers with the same content
25exclude_rule 'MD025' # Multiple top level headers in the same document
26exclude_rule 'MD026' # Trailing punctuation in header
27exclude_rule 'MD029' # Ordered list item prefix
28exclude_rule 'MD030' # Spaces after list markers (default: 1!)
29exclude_rule 'MD033' # Allow inline HTML (complex tables are impossible without it)
30