-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.mdl.rb
More file actions
26 lines (22 loc) · 822 Bytes
/
.mdl.rb
File metadata and controls
26 lines (22 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Enable all rules by default
all
# Extend line length for text.
# This will complain for overly wide tables and code blocks.
rule 'MD013', :line_length => 99999
# Allow first header to not be a top level header
# since top-level is set by metadata
exclude_rule 'MD002'
# First line in file does not have to be a top level header
# since top-level is set by metadata
exclude_rule 'MD041'
# Allow multiple consecutive blank lines
exclude_rule 'MD012'
# Allow raw HTML to include videos, for example.
exclude_rule 'MD033'
# Allow code blocks without a language specified
exclude_rule 'MD040'
# Nested lists should be indented with four spaces.
# Modification: Question marks should be allowed
rule 'MD026', :punctuation => '.,;:!'
# Ordered lists must have prefix that increases in order
rule 'MD029', :style => :ordered