-
Notifications
You must be signed in to change notification settings - Fork 0
/
.markdownlint-cli2.jsonc
48 lines (47 loc) · 1.16 KB
/
.markdownlint-cli2.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// I use the .markdownlint-cli2.jsonc configuration file because it enables auto-completion in VS Code when using the extension. More info: https://github.com/DavidAnson/markdownlint-cli2/blob/main/README.md#markdownlint-cli2jsonc.
{
"globs": ["**/*.md"], // Lint all .md files in the current directory and its subdirectories
"config": {
"default": true,
"code-block-style": {
"style": "fenced"
},
"code-fence-style": {
"style": "backtick"
},
"emphasis-style": {
"style": "asterisk"
},
"heading-style": {
"style": "atx"
},
"hr-style": {
"style": "---"
},
"line-length": false,
"no-blanks-blockquote": false, // Allow consecutive blockquotes/alerts/callouts
"no-duplicate-heading": {
"siblings_only": true
},
"no-inline-html": false,
"no-trailing-punctuation": {
"punctuation": ".,;:。,;:" // Allow '!' and '!' (default is ".,;:!。,;:!")
},
"no-trailing-spaces": {
"strict": true
},
"ol-prefix": {
"style": "ordered"
},
"strong-style": {
"style": "asterisk"
},
"table-pipe-style": {
"style": "leading_and_trailing"
},
"ul-style": {
"style": "dash"
}
},
"gitignore": true
}