-
Notifications
You must be signed in to change notification settings - Fork 46
/
.markdownlint.jsonc
30 lines (30 loc) · 1.42 KB
/
.markdownlint.jsonc
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
{
// MD004 - Unordered list style
// https://github.com/DavidAnson/markdownlint/blob/main/doc/md004.md
// Disabled because it warns on TOC generated with
// https://ecotrust-canada.github.io/markdown-toc/
"MD004": false,
// MD013 - Line length
// https://github.com/DavidAnson/markdownlint/blob/main/doc/md013.md
"MD013": { "line_length": 120, "code_blocks": false, "headings": false, "tables": false },
// MD025 - Multiple top-level headings in the same document
// https://github.com/DavidAnson/markdownlint/blob/main/doc/md025.md
"MD025": false,
// MD029 - Ordered list item prefix
// https://github.com/DavidAnson/markdownlint/blob/main/doc/md029.md
"MD029": false,
// MD031 - Fenced code blocks should be surrounded by blank lines
// https://github.com/DavidAnson/markdownlint/blob/v0.27.0/doc/md031.md
"MD031": { "list_items": false },
// MD033 - Inline HTML
// https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md033.md
// We do not use inline HTML as GitHub would sanitize it away anyway.
// See:
// - https://stackoverflow.com/a/44831715/986533
// - https://github.com/github/markup#github-markup
// - https://github.com/gjtorikian/html-pipeline/blob/main/lib/html_pipeline/sanitization_filter.rb
"MD033": true,
// MD034 - Bare URL used
// https://github.com/DavidAnson/markdownlint/blob/main/doc/md034.md
"MD034": false
}