markdownlint.rb 1.3 KB

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