-
Notifications
You must be signed in to change notification settings - Fork 2
/
.mdl_style.rb
30 lines (27 loc) · 975 Bytes
/
.mdl_style.rb
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
# SPDX-FileCopyrightText: 2022 Robin Vobruba <hoijui.quaero@gmail.com>
# SPDX-License-Identifier: Unlicense
# Enforce the style guide at https://cirosantilli.com/markdown-style-guide
all
rule 'MD003', :style => :atx
#rule 'MD004', :style => :dash
#rule 'MD004', :style => :asterisk
#rule 'MD004', :style => :consistent
#rule 'MD007', :indent => 4
rule 'MD013', :tables => false
rule 'MD029', :style => 'ordered'
#rule 'MD030', :ul_multi => 3, :ol_multi => 2
rule 'MD035', :style => '---'
# First header should be a top level header
# - We have the title in the YAML meta-data,
# so we can use headers however we want
exclude_rule 'MD002'
# Multiple top level headers in the same document
# - We have the title in the YAML meta-data,
# so we can legitimately level 1 headers for sections
exclude_rule 'MD025'
# Trailing punctuation in header
exclude_rule 'MD026'
# Inline HTML
exclude_rule 'MD033'
# First line in file should be a top level header
exclude_rule 'MD041'