forked from somasis/musl-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mdlstyle.rb
14 lines (13 loc) · 846 Bytes
/
.mdlstyle.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
all
rule 'MD003', :style => :atx # atx style headers
rule 'MD004', :style => :dash # enforce dashes for unordered lists
rule 'MD007', :indent => 4 # four spaces for indentation
rule 'MD013', :code_blocks => false # don't check line length in code blocks
rule 'MD013', :tables => false # don't check line length in tables
rule 'MD013', :line_length => 100 # 100 length limit
rule 'MD026', :punctuation => ".,;:" # allow !? at header end
rule 'MD029', :style => :ordered # enforce incremental ordered lists
exclude_rule 'MD013'
exclude_rule 'MD022' # used by markdown.sh
exclude_rule 'MD025' # allow multiple top level, because we want to be in-depth in our doc
exclude_rule 'MD036' # allow emphasis "used instead of a header" because we're using emphasis without desire for a header