2021-10-06 11:18:27 +02:00
|
|
|
# Rules for <https://github.com/markdownlint/markdownlint>
|
|
|
|
|
2021-09-09 15:52:24 +02:00
|
|
|
# Load all rules by default
|
|
|
|
all
|
|
|
|
|
|
|
|
#
|
|
|
|
# Tweak rules
|
|
|
|
#
|
|
|
|
|
|
|
|
# MD002 First header should be a top level header
|
|
|
|
# Because we use HTML to hide them on the website.
|
|
|
|
exclude_rule 'MD002'
|
|
|
|
|
2022-04-14 17:11:12 +02:00
|
|
|
# MD007 Allow unordered list indentation
|
|
|
|
exclude_rule 'MD007'
|
|
|
|
|
2021-09-09 15:52:24 +02:00
|
|
|
# MD013 Line length
|
|
|
|
exclude_rule 'MD013'
|
|
|
|
|
|
|
|
# MD014 Dollar signs used before commands without showing output
|
|
|
|
exclude_rule 'MD014'
|
|
|
|
|
2021-11-30 09:12:51 +01:00
|
|
|
# MD028 Blank line inside blockquote
|
|
|
|
exclude_rule 'MD028'
|
|
|
|
|
2022-01-23 13:52:38 +01:00
|
|
|
# MD012 Multiple consecutive blank lines
|
|
|
|
exclude_rule 'MD012'
|
|
|
|
|
2021-09-09 15:52:24 +02:00
|
|
|
# Tell the linter to use ordered lists:
|
|
|
|
# 1. Foo
|
|
|
|
# 2. Bar
|
|
|
|
# 3. Baz
|
|
|
|
#
|
|
|
|
# Instead of:
|
|
|
|
# 1. Foo
|
|
|
|
# 1. Bar
|
|
|
|
# 1. Baz
|
|
|
|
rule 'MD029', :style => :ordered
|
|
|
|
|
|
|
|
# MD033 Inline HTML
|
|
|
|
# TODO: Tweak elements when https://github.com/markdownlint/markdownlint/issues/118 will be done?
|
|
|
|
exclude_rule 'MD033'
|
|
|
|
|
|
|
|
# MD034 Bare URL used
|
|
|
|
# TODO: Remove when https://github.com/markdownlint/markdownlint/issues/328 will be fixed.
|
|
|
|
exclude_rule 'MD034'
|
|
|
|
|
|
|
|
# MD041 First line in file should be a top level header
|
|
|
|
# Because we use HTML to hide them on the website.
|
|
|
|
exclude_rule 'MD041'
|