Skip to content

Commit 1cd4324

Browse files
authored
config: use markdownlint v2 options
1 parent b463116 commit 1cd4324

File tree

1 file changed

+64
-77
lines changed

1 file changed

+64
-77
lines changed

.markdownlint-cli2.jsonc

Lines changed: 64 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,67 @@
11
{
2-
"code-block-style": {
3-
"style": "fenced"
4-
},
5-
"code-fence-style": {
6-
"style": "backtick"
7-
},
8-
"emphasis-style": {
9-
"style": "consistent"
10-
},
11-
"fenced-code-language": {
12-
"allowed_languages": [
13-
"bash",
14-
"console",
15-
"html",
16-
"javascript",
17-
"json",
18-
"markdown",
19-
"powershell",
20-
"text",
21-
"xml",
22-
"yaml",
23-
"plaintext"
24-
],
25-
"language_only": true
26-
},
27-
"heading-style": {
28-
"style": "atx"
29-
},
30-
"hr-style": {
31-
"style": "---"
32-
},
33-
"line-length": {
34-
"strict": false,
35-
"code_blocks": false,
36-
"line_length": 1000
37-
},
38-
"link-image-style": {
39-
"autolink": true,
40-
"inline": true,
41-
"collapsed": true,
42-
"shortcut": true,
43-
"full": true,
44-
"url_inline": true
45-
},
46-
"no-duplicate-heading": {
47-
"siblings_only": true
48-
},
49-
"ol-prefix": {
50-
"style": "ordered"
51-
},
52-
"proper-names": {
53-
"code_blocks": false,
54-
"names": [
55-
"CommonMark",
56-
"JavaScript",
57-
"Markdown",
58-
"markdown-it",
59-
"markdownlint",
60-
"markdownlint-cli2",
61-
"Node.js"
62-
]
63-
},
64-
"strong-style": {
65-
"style": "asterisk"
66-
},
67-
"table-pipe-style": {
68-
"style": "leading_and_trailing"
69-
},
70-
"ul-style": {
71-
"style": "dash"
72-
},
73-
"no-inline-html": {
74-
"allowed_elements": [
75-
"details",
76-
"summary",
77-
"strong"
78-
]
2+
"config": {
3+
"MD046": {
4+
"style": "fenced"
5+
},
6+
"MD048": {
7+
"style": "backtick"
8+
},
9+
"MD049": {
10+
"style": "consistent"
11+
},
12+
"MD040": {
13+
"allowed_languages": [
14+
"bash",
15+
"console",
16+
"html",
17+
"javascript",
18+
"json",
19+
"markdown",
20+
"powershell",
21+
"text",
22+
"xml",
23+
"yaml",
24+
"plaintext"
25+
],
26+
"language_only": true
27+
},
28+
"MD003": {
29+
"style": "atx"
30+
},
31+
"MD035": {
32+
"style": "---"
33+
},
34+
"MD013": {
35+
"strict": false,
36+
"code_blocks": false,
37+
"line_length": 1000
38+
},
39+
"MD024": {
40+
"siblings_only": true
41+
},
42+
"MD029": {
43+
"style": "ordered"
44+
},
45+
"MD044": {
46+
"code_blocks": false,
47+
"names": [
48+
"CommonMark",
49+
"JavaScript",
50+
"Markdown",
51+
"markdown-it",
52+
"markdownlint",
53+
"markdownlint-cli2",
54+
"Node.js"
55+
]
56+
},
57+
"MD036": {
58+
"punctuation": ".,;:!?"
59+
},
60+
"MD004": {
61+
"style": "dash"
62+
},
63+
"MD033": {
64+
"allowed_elements": ["details", "summary", "strong"]
65+
}
7966
}
8067
}

0 commit comments

Comments
 (0)