-
Notifications
You must be signed in to change notification settings - Fork 32
/
.mdl.style
53 lines (42 loc) · 1.46 KB
/
.mdl.style
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
all
rule 'MD003', :style => :atx
rule 'MD004', :style => :asterisk
rule 'MD007', :indent => 4
rule 'MD013', :code_blocks => false, :tables => false
rule 'MD026', :punctuation => '.,;:!'
rule 'MD029', :style => :ordered
# "Header levels should only increment by one level at a time"
# Don't care.
exclude_rule 'MD001'
# "Dollar signs used before commands without showing output"
# Completely disagree with rationale.
exclude_rule 'MD014'
# "Headers should be surrounded by blank lines"
# Don't care.
exclude_rule 'MD022'
# "Multiple headers with the same content"
# Their reasoning is that auto-generated anchor tags won't work, but that's not
# true for us.
exclude_rule 'MD024'
# "Ordered list item prefix"
# Would be nice, but way too buggy and doesn't handle whitespace/HTML/etc.
# between list items.
exclude_rule 'MD029'
# "Fenced code blocks should be surrounded by blank lines"
# Don't care.
exclude_rule 'MD031'
# "Lists should be surrounded by blank lines"
# Don't care.
exclude_rule 'MD032'
# "Inline HTML"
# We use inline HTML for formatting that is not supported in pure Markdown.
exclude_rule 'MD033'
# "Bare URL used"
# This is a bug, as the linter doesn't handle reference-style links.
exclude_rule 'MD034'
# "Emphasis used instead of a header"
# We sometimes caption tables in italics, etc., which this does not handle.
exclude_rule 'MD036'
# "Fenced code blocks should have a language specified"
# We aren't always using code blocks for code.
exclude_rule 'MD040'