-
Notifications
You must be signed in to change notification settings - Fork 24
/
.markdownlint-cli2.yaml
40 lines (33 loc) · 1.31 KB
/
.markdownlint-cli2.yaml
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
%YAML 1.2
# yaml-language-server: $schema=https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json
---
config:
default: true
# Allow arbitrary line length
#
# Reason: We apply the one-sentence-per-line rule. A sentence may get longer than 80 characters, especially if links are contained.
#
# Detail: https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md013---line-length
MD013: false
# Allow repeated heading at the same level, within different nesting hierarchies.
#
# Reason: We have repeated sections of information in some limited cases.
#
# Details: https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md024---multiple-headings-with-the-same-content
MD024:
allow_different_nesting: true
# Allow inline HTML
#
# Reason: The <br/> and <code> tags in particular are useful for making blocks of text more readbale in a table cell.
#
# Details: https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md033---inline-html
MD033:
allowed_elements: ["br", "code"]
fix: true
noInlineConfig: false
ignores:
# Reason: auto-generated by a tool that does not confirm to these lint rules
- CHANGELOG.md
outputFormatters:
- - markdownlint-cli2-formatter-default
- - markdownlint-cli2-formatter-codequality