-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.markdownlint-cli2.jsonc
More file actions
33 lines (28 loc) · 1.01 KB
/
Copy path.markdownlint-cli2.jsonc
File metadata and controls
33 lines (28 loc) · 1.01 KB
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
{
"default": true,
// Headings
"MD001": true, // heading-increment
"MD003": { "style": "atx" }, // ### not underlines
"MD022": true, // blanks around headings
"MD025": true, // single H1
"MD041": false, // first line heading (often conflicts with frontmatter/badges)
// Lists
"MD029": { "style": "one_or_ordered" }, // ordered list numbering
"MD030": true, // list marker spacing
"MD032": true, // blanks around lists
// Code + blocks
"MD040": true, // fenced code language required
"MD046": { "style": "fenced" }, // fenced code blocks
"MD048": { "style": "backtick" }, // ``` not ~~~
// Line length
"MD013": {
"line_length": 120,
"tables": false,
"code_blocks": false
},
// Whitespace
"MD009": { "br_spaces": 2 }, // allow 2 spaces for hard breaks
"MD010": true, // no hard tabs
"MD012": true, // no multiple blank lines
"MD047": true // single trailing newline
}