forked from thoka/AgroCircle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mdl_style.rb
36 lines (32 loc) · 1.09 KB
/
.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
31
32
33
34
35
36
# SPDX-FileCopyrightText: 2021 - 2023 Robin Vobruba <[email protected]>
#
# SPDX-License-Identifier: Unlicense
# This file is automatically found and used
# by the markdown-linter:
# <https://github.com/markdownlint/markdownlint>
# This enforces 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'