markdownlint 0.32.0 → 0.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/demo/markdownlint-browser.js +3 -3
- package/lib/configuration.d.ts +98 -98
- package/lib/constants.js +1 -1
- package/lib/md054.js +8 -1
- package/package.json +2 -2
- package/schema/.markdownlint.jsonc +48 -48
- package/schema/.markdownlint.yaml +48 -48
- package/schema/markdownlint-config-schema.json +98 -98
package/lib/constants.js
CHANGED
package/lib/md054.js
CHANGED
|
@@ -64,7 +64,14 @@ module.exports = {
|
|
|
64
64
|
if (destination) {
|
|
65
65
|
// link kind is an inline link
|
|
66
66
|
const title = getTokenTextByType(descendents, "resourceTitleString");
|
|
67
|
-
isError = !inline || (
|
|
67
|
+
isError = !inline || (
|
|
68
|
+
!urlInline &&
|
|
69
|
+
autolink &&
|
|
70
|
+
!image &&
|
|
71
|
+
!title &&
|
|
72
|
+
(label === destination) &&
|
|
73
|
+
autolinkAble(destination)
|
|
74
|
+
);
|
|
68
75
|
} else {
|
|
69
76
|
// link kind is a full/collapsed/shortcut reference link
|
|
70
77
|
const isShortcut = !children.some((t) => t.type === "reference");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markdownlint",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.1",
|
|
4
4
|
"description": "A Node.js style checker and lint tool for Markdown/CommonMark files.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./lib/markdownlint.js",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"markdown-it-for-inline": "0.1.1",
|
|
90
90
|
"markdown-it-sub": "1.0.0",
|
|
91
91
|
"markdown-it-sup": "1.0.0",
|
|
92
|
-
"markdownlint-rule-helpers": "0.
|
|
92
|
+
"markdownlint-rule-helpers": "0.23.0",
|
|
93
93
|
"npm-run-all": "4.1.5",
|
|
94
94
|
"strip-json-comments": "5.0.1",
|
|
95
95
|
"terser-webpack-plugin": "5.3.9",
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
// Path to configuration file to extend
|
|
8
8
|
"extends": null,
|
|
9
9
|
|
|
10
|
-
// MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
10
|
+
// MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md001.md
|
|
11
11
|
"MD001": true,
|
|
12
12
|
|
|
13
|
-
// MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
13
|
+
// MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md003.md
|
|
14
14
|
"MD003": {
|
|
15
15
|
// Heading style
|
|
16
16
|
"style": "consistent"
|
|
17
17
|
},
|
|
18
18
|
|
|
19
|
-
// MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
19
|
+
// MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md004.md
|
|
20
20
|
"MD004": {
|
|
21
21
|
// List style
|
|
22
22
|
"style": "consistent"
|
|
23
23
|
},
|
|
24
24
|
|
|
25
|
-
// MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
25
|
+
// MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md005.md
|
|
26
26
|
"MD005": true,
|
|
27
27
|
|
|
28
|
-
// MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
28
|
+
// MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md007.md
|
|
29
29
|
"MD007": {
|
|
30
30
|
// Spaces for indent
|
|
31
31
|
"indent": 2,
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"start_indent": 2
|
|
36
36
|
},
|
|
37
37
|
|
|
38
|
-
// MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
38
|
+
// MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md009.md
|
|
39
39
|
"MD009": {
|
|
40
40
|
// Spaces for line break
|
|
41
41
|
"br_spaces": 2,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"strict": false
|
|
46
46
|
},
|
|
47
47
|
|
|
48
|
-
// MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
48
|
+
// MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md010.md
|
|
49
49
|
"MD010": {
|
|
50
50
|
// Include code blocks
|
|
51
51
|
"code_blocks": true,
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
"spaces_per_tab": 1
|
|
56
56
|
},
|
|
57
57
|
|
|
58
|
-
// MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
58
|
+
// MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md011.md
|
|
59
59
|
"MD011": true,
|
|
60
60
|
|
|
61
|
-
// MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
61
|
+
// MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md012.md
|
|
62
62
|
"MD012": {
|
|
63
63
|
// Consecutive blank lines
|
|
64
64
|
"maximum": 1
|
|
65
65
|
},
|
|
66
66
|
|
|
67
|
-
// MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
67
|
+
// MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md013.md
|
|
68
68
|
"MD013": {
|
|
69
69
|
// Number of characters
|
|
70
70
|
"line_length": 80,
|
|
@@ -84,22 +84,22 @@
|
|
|
84
84
|
"stern": false
|
|
85
85
|
},
|
|
86
86
|
|
|
87
|
-
// MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
87
|
+
// MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md014.md
|
|
88
88
|
"MD014": true,
|
|
89
89
|
|
|
90
|
-
// MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
90
|
+
// MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md018.md
|
|
91
91
|
"MD018": true,
|
|
92
92
|
|
|
93
|
-
// MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
93
|
+
// MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md019.md
|
|
94
94
|
"MD019": true,
|
|
95
95
|
|
|
96
|
-
// MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
96
|
+
// MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md020.md
|
|
97
97
|
"MD020": true,
|
|
98
98
|
|
|
99
|
-
// MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
99
|
+
// MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md021.md
|
|
100
100
|
"MD021": true,
|
|
101
101
|
|
|
102
|
-
// MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
102
|
+
// MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md022.md
|
|
103
103
|
"MD022": {
|
|
104
104
|
// Blank lines above heading
|
|
105
105
|
"lines_above": 1,
|
|
@@ -107,10 +107,10 @@
|
|
|
107
107
|
"lines_below": 1
|
|
108
108
|
},
|
|
109
109
|
|
|
110
|
-
// MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
110
|
+
// MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md023.md
|
|
111
111
|
"MD023": true,
|
|
112
112
|
|
|
113
|
-
// MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
113
|
+
// MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md024.md
|
|
114
114
|
"MD024": {
|
|
115
115
|
// Only check sibling headings
|
|
116
116
|
"allow_different_nesting": false,
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"siblings_only": false
|
|
119
119
|
},
|
|
120
120
|
|
|
121
|
-
// MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
121
|
+
// MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md025.md
|
|
122
122
|
"MD025": {
|
|
123
123
|
// Heading level
|
|
124
124
|
"level": 1,
|
|
@@ -126,25 +126,25 @@
|
|
|
126
126
|
"front_matter_title": "^\\s*title\\s*[:=]"
|
|
127
127
|
},
|
|
128
128
|
|
|
129
|
-
// MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
129
|
+
// MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md026.md
|
|
130
130
|
"MD026": {
|
|
131
131
|
// Punctuation characters
|
|
132
132
|
"punctuation": ".,;:!。,;:!"
|
|
133
133
|
},
|
|
134
134
|
|
|
135
|
-
// MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
135
|
+
// MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md027.md
|
|
136
136
|
"MD027": true,
|
|
137
137
|
|
|
138
|
-
// MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
138
|
+
// MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md028.md
|
|
139
139
|
"MD028": true,
|
|
140
140
|
|
|
141
|
-
// MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
141
|
+
// MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md029.md
|
|
142
142
|
"MD029": {
|
|
143
143
|
// List style
|
|
144
144
|
"style": "one_or_ordered"
|
|
145
145
|
},
|
|
146
146
|
|
|
147
|
-
// MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
147
|
+
// MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md030.md
|
|
148
148
|
"MD030": {
|
|
149
149
|
// Spaces for single-line unordered list items
|
|
150
150
|
"ul_single": 1,
|
|
@@ -156,46 +156,46 @@
|
|
|
156
156
|
"ol_multi": 1
|
|
157
157
|
},
|
|
158
158
|
|
|
159
|
-
// MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
159
|
+
// MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md031.md
|
|
160
160
|
"MD031": {
|
|
161
161
|
// Include list items
|
|
162
162
|
"list_items": true
|
|
163
163
|
},
|
|
164
164
|
|
|
165
|
-
// MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
165
|
+
// MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md032.md
|
|
166
166
|
"MD032": true,
|
|
167
167
|
|
|
168
|
-
// MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
168
|
+
// MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md033.md
|
|
169
169
|
"MD033": {
|
|
170
170
|
// Allowed elements
|
|
171
171
|
"allowed_elements": []
|
|
172
172
|
},
|
|
173
173
|
|
|
174
|
-
// MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
174
|
+
// MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md034.md
|
|
175
175
|
"MD034": true,
|
|
176
176
|
|
|
177
|
-
// MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
177
|
+
// MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md035.md
|
|
178
178
|
"MD035": {
|
|
179
179
|
// Horizontal rule style
|
|
180
180
|
"style": "consistent"
|
|
181
181
|
},
|
|
182
182
|
|
|
183
|
-
// MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
183
|
+
// MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md036.md
|
|
184
184
|
"MD036": {
|
|
185
185
|
// Punctuation characters
|
|
186
186
|
"punctuation": ".,;:!?。,;:!?"
|
|
187
187
|
},
|
|
188
188
|
|
|
189
|
-
// MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
189
|
+
// MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md037.md
|
|
190
190
|
"MD037": true,
|
|
191
191
|
|
|
192
|
-
// MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
192
|
+
// MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md038.md
|
|
193
193
|
"MD038": true,
|
|
194
194
|
|
|
195
|
-
// MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
195
|
+
// MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md039.md
|
|
196
196
|
"MD039": true,
|
|
197
197
|
|
|
198
|
-
// MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
198
|
+
// MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md040.md
|
|
199
199
|
"MD040": {
|
|
200
200
|
// List of languages
|
|
201
201
|
"allowed_languages": [],
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
"language_only": false
|
|
204
204
|
},
|
|
205
205
|
|
|
206
|
-
// MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
206
|
+
// MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md041.md
|
|
207
207
|
"MD041": {
|
|
208
208
|
// Heading level
|
|
209
209
|
"level": 1,
|
|
@@ -211,10 +211,10 @@
|
|
|
211
211
|
"front_matter_title": "^\\s*title\\s*[:=]"
|
|
212
212
|
},
|
|
213
213
|
|
|
214
|
-
// MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
214
|
+
// MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md042.md
|
|
215
215
|
"MD042": true,
|
|
216
216
|
|
|
217
|
-
// MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
217
|
+
// MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md043.md
|
|
218
218
|
"MD043": {
|
|
219
219
|
// List of headings
|
|
220
220
|
"headings": [],
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
"match_case": false
|
|
223
223
|
},
|
|
224
224
|
|
|
225
|
-
// MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
225
|
+
// MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md044.md
|
|
226
226
|
"MD044": {
|
|
227
227
|
// List of proper names
|
|
228
228
|
"names": [],
|
|
@@ -232,46 +232,46 @@
|
|
|
232
232
|
"html_elements": true
|
|
233
233
|
},
|
|
234
234
|
|
|
235
|
-
// MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
235
|
+
// MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md045.md
|
|
236
236
|
"MD045": true,
|
|
237
237
|
|
|
238
|
-
// MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
238
|
+
// MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md046.md
|
|
239
239
|
"MD046": {
|
|
240
240
|
// Block style
|
|
241
241
|
"style": "consistent"
|
|
242
242
|
},
|
|
243
243
|
|
|
244
|
-
// MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
244
|
+
// MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md047.md
|
|
245
245
|
"MD047": true,
|
|
246
246
|
|
|
247
|
-
// MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
247
|
+
// MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md048.md
|
|
248
248
|
"MD048": {
|
|
249
249
|
// Code fence style
|
|
250
250
|
"style": "consistent"
|
|
251
251
|
},
|
|
252
252
|
|
|
253
|
-
// MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
253
|
+
// MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md049.md
|
|
254
254
|
"MD049": {
|
|
255
255
|
// Emphasis style
|
|
256
256
|
"style": "consistent"
|
|
257
257
|
},
|
|
258
258
|
|
|
259
|
-
// MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
259
|
+
// MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md050.md
|
|
260
260
|
"MD050": {
|
|
261
261
|
// Strong style
|
|
262
262
|
"style": "consistent"
|
|
263
263
|
},
|
|
264
264
|
|
|
265
|
-
// MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
265
|
+
// MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md051.md
|
|
266
266
|
"MD051": true,
|
|
267
267
|
|
|
268
|
-
// MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
268
|
+
// MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md052.md
|
|
269
269
|
"MD052": {
|
|
270
270
|
// Include shortcut syntax
|
|
271
271
|
"shortcut_syntax": false
|
|
272
272
|
},
|
|
273
273
|
|
|
274
|
-
// MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
274
|
+
// MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md053.md
|
|
275
275
|
"MD053": {
|
|
276
276
|
// Ignored definitions
|
|
277
277
|
"ignored_definitions": [
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
]
|
|
280
280
|
},
|
|
281
281
|
|
|
282
|
-
// MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
282
|
+
// MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md054.md
|
|
283
283
|
"MD054": {
|
|
284
284
|
// Allow autolinks
|
|
285
285
|
"autolink": true,
|
|
@@ -6,23 +6,23 @@ default: true
|
|
|
6
6
|
# Path to configuration file to extend
|
|
7
7
|
extends: null
|
|
8
8
|
|
|
9
|
-
# MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
9
|
+
# MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md001.md
|
|
10
10
|
MD001: true
|
|
11
11
|
|
|
12
|
-
# MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
12
|
+
# MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md003.md
|
|
13
13
|
MD003:
|
|
14
14
|
# Heading style
|
|
15
15
|
style: "consistent"
|
|
16
16
|
|
|
17
|
-
# MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
17
|
+
# MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md004.md
|
|
18
18
|
MD004:
|
|
19
19
|
# List style
|
|
20
20
|
style: "consistent"
|
|
21
21
|
|
|
22
|
-
# MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
22
|
+
# MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md005.md
|
|
23
23
|
MD005: true
|
|
24
24
|
|
|
25
|
-
# MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
25
|
+
# MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md007.md
|
|
26
26
|
MD007:
|
|
27
27
|
# Spaces for indent
|
|
28
28
|
indent: 2
|
|
@@ -31,7 +31,7 @@ MD007:
|
|
|
31
31
|
# Spaces for first level indent (when start_indented is set)
|
|
32
32
|
start_indent: 2
|
|
33
33
|
|
|
34
|
-
# MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
34
|
+
# MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md009.md
|
|
35
35
|
MD009:
|
|
36
36
|
# Spaces for line break
|
|
37
37
|
br_spaces: 2
|
|
@@ -40,7 +40,7 @@ MD009:
|
|
|
40
40
|
# Include unnecessary breaks
|
|
41
41
|
strict: false
|
|
42
42
|
|
|
43
|
-
# MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
43
|
+
# MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md010.md
|
|
44
44
|
MD010:
|
|
45
45
|
# Include code blocks
|
|
46
46
|
code_blocks: true
|
|
@@ -49,15 +49,15 @@ MD010:
|
|
|
49
49
|
# Number of spaces for each hard tab
|
|
50
50
|
spaces_per_tab: 1
|
|
51
51
|
|
|
52
|
-
# MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
52
|
+
# MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md011.md
|
|
53
53
|
MD011: true
|
|
54
54
|
|
|
55
|
-
# MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
55
|
+
# MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md012.md
|
|
56
56
|
MD012:
|
|
57
57
|
# Consecutive blank lines
|
|
58
58
|
maximum: 1
|
|
59
59
|
|
|
60
|
-
# MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
60
|
+
# MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md013.md
|
|
61
61
|
MD013:
|
|
62
62
|
# Number of characters
|
|
63
63
|
line_length: 80
|
|
@@ -76,62 +76,62 @@ MD013:
|
|
|
76
76
|
# Stern length checking
|
|
77
77
|
stern: false
|
|
78
78
|
|
|
79
|
-
# MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
79
|
+
# MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md014.md
|
|
80
80
|
MD014: true
|
|
81
81
|
|
|
82
|
-
# MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
82
|
+
# MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md018.md
|
|
83
83
|
MD018: true
|
|
84
84
|
|
|
85
|
-
# MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
85
|
+
# MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md019.md
|
|
86
86
|
MD019: true
|
|
87
87
|
|
|
88
|
-
# MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
88
|
+
# MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md020.md
|
|
89
89
|
MD020: true
|
|
90
90
|
|
|
91
|
-
# MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
91
|
+
# MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md021.md
|
|
92
92
|
MD021: true
|
|
93
93
|
|
|
94
|
-
# MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
94
|
+
# MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md022.md
|
|
95
95
|
MD022:
|
|
96
96
|
# Blank lines above heading
|
|
97
97
|
lines_above: 1
|
|
98
98
|
# Blank lines below heading
|
|
99
99
|
lines_below: 1
|
|
100
100
|
|
|
101
|
-
# MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
101
|
+
# MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md023.md
|
|
102
102
|
MD023: true
|
|
103
103
|
|
|
104
|
-
# MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
104
|
+
# MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md024.md
|
|
105
105
|
MD024:
|
|
106
106
|
# Only check sibling headings
|
|
107
107
|
allow_different_nesting: false
|
|
108
108
|
# Only check sibling headings
|
|
109
109
|
siblings_only: false
|
|
110
110
|
|
|
111
|
-
# MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
111
|
+
# MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md025.md
|
|
112
112
|
MD025:
|
|
113
113
|
# Heading level
|
|
114
114
|
level: 1
|
|
115
115
|
# RegExp for matching title in front matter
|
|
116
116
|
front_matter_title: "^\\s*title\\s*[:=]"
|
|
117
117
|
|
|
118
|
-
# MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
118
|
+
# MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md026.md
|
|
119
119
|
MD026:
|
|
120
120
|
# Punctuation characters
|
|
121
121
|
punctuation: ".,;:!。,;:!"
|
|
122
122
|
|
|
123
|
-
# MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
123
|
+
# MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md027.md
|
|
124
124
|
MD027: true
|
|
125
125
|
|
|
126
|
-
# MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
126
|
+
# MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md028.md
|
|
127
127
|
MD028: true
|
|
128
128
|
|
|
129
|
-
# MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
129
|
+
# MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md029.md
|
|
130
130
|
MD029:
|
|
131
131
|
# List style
|
|
132
132
|
style: "one_or_ordered"
|
|
133
133
|
|
|
134
|
-
# MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
134
|
+
# MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md030.md
|
|
135
135
|
MD030:
|
|
136
136
|
# Spaces for single-line unordered list items
|
|
137
137
|
ul_single: 1
|
|
@@ -142,66 +142,66 @@ MD030:
|
|
|
142
142
|
# Spaces for multi-line ordered list items
|
|
143
143
|
ol_multi: 1
|
|
144
144
|
|
|
145
|
-
# MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
145
|
+
# MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md031.md
|
|
146
146
|
MD031:
|
|
147
147
|
# Include list items
|
|
148
148
|
list_items: true
|
|
149
149
|
|
|
150
|
-
# MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
150
|
+
# MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md032.md
|
|
151
151
|
MD032: true
|
|
152
152
|
|
|
153
|
-
# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
153
|
+
# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md033.md
|
|
154
154
|
MD033:
|
|
155
155
|
# Allowed elements
|
|
156
156
|
allowed_elements: []
|
|
157
157
|
|
|
158
|
-
# MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
158
|
+
# MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md034.md
|
|
159
159
|
MD034: true
|
|
160
160
|
|
|
161
|
-
# MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
161
|
+
# MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md035.md
|
|
162
162
|
MD035:
|
|
163
163
|
# Horizontal rule style
|
|
164
164
|
style: "consistent"
|
|
165
165
|
|
|
166
|
-
# MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
166
|
+
# MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md036.md
|
|
167
167
|
MD036:
|
|
168
168
|
# Punctuation characters
|
|
169
169
|
punctuation: ".,;:!?。,;:!?"
|
|
170
170
|
|
|
171
|
-
# MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
171
|
+
# MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md037.md
|
|
172
172
|
MD037: true
|
|
173
173
|
|
|
174
|
-
# MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
174
|
+
# MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md038.md
|
|
175
175
|
MD038: true
|
|
176
176
|
|
|
177
|
-
# MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
177
|
+
# MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md039.md
|
|
178
178
|
MD039: true
|
|
179
179
|
|
|
180
|
-
# MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
180
|
+
# MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md040.md
|
|
181
181
|
MD040:
|
|
182
182
|
# List of languages
|
|
183
183
|
allowed_languages: []
|
|
184
184
|
# Require language only
|
|
185
185
|
language_only: false
|
|
186
186
|
|
|
187
|
-
# MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
187
|
+
# MD041/first-line-heading/first-line-h1 : First line in a file should be a top-level heading : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md041.md
|
|
188
188
|
MD041:
|
|
189
189
|
# Heading level
|
|
190
190
|
level: 1
|
|
191
191
|
# RegExp for matching title in front matter
|
|
192
192
|
front_matter_title: "^\\s*title\\s*[:=]"
|
|
193
193
|
|
|
194
|
-
# MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
194
|
+
# MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md042.md
|
|
195
195
|
MD042: true
|
|
196
196
|
|
|
197
|
-
# MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
197
|
+
# MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md043.md
|
|
198
198
|
MD043:
|
|
199
199
|
# List of headings
|
|
200
200
|
headings: []
|
|
201
201
|
# Match case of headings
|
|
202
202
|
match_case: false
|
|
203
203
|
|
|
204
|
-
# MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
204
|
+
# MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md044.md
|
|
205
205
|
MD044:
|
|
206
206
|
# List of proper names
|
|
207
207
|
names: []
|
|
@@ -210,47 +210,47 @@ MD044:
|
|
|
210
210
|
# Include HTML elements
|
|
211
211
|
html_elements: true
|
|
212
212
|
|
|
213
|
-
# MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
213
|
+
# MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md045.md
|
|
214
214
|
MD045: true
|
|
215
215
|
|
|
216
|
-
# MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
216
|
+
# MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md046.md
|
|
217
217
|
MD046:
|
|
218
218
|
# Block style
|
|
219
219
|
style: "consistent"
|
|
220
220
|
|
|
221
|
-
# MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
221
|
+
# MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md047.md
|
|
222
222
|
MD047: true
|
|
223
223
|
|
|
224
|
-
# MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
224
|
+
# MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md048.md
|
|
225
225
|
MD048:
|
|
226
226
|
# Code fence style
|
|
227
227
|
style: "consistent"
|
|
228
228
|
|
|
229
|
-
# MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
229
|
+
# MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md049.md
|
|
230
230
|
MD049:
|
|
231
231
|
# Emphasis style
|
|
232
232
|
style: "consistent"
|
|
233
233
|
|
|
234
|
-
# MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
234
|
+
# MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md050.md
|
|
235
235
|
MD050:
|
|
236
236
|
# Strong style
|
|
237
237
|
style: "consistent"
|
|
238
238
|
|
|
239
|
-
# MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
239
|
+
# MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md051.md
|
|
240
240
|
MD051: true
|
|
241
241
|
|
|
242
|
-
# MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
242
|
+
# MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md052.md
|
|
243
243
|
MD052:
|
|
244
244
|
# Include shortcut syntax
|
|
245
245
|
shortcut_syntax: false
|
|
246
246
|
|
|
247
|
-
# MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
247
|
+
# MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md053.md
|
|
248
248
|
MD053:
|
|
249
249
|
# Ignored definitions
|
|
250
250
|
ignored_definitions:
|
|
251
251
|
- "//"
|
|
252
252
|
|
|
253
|
-
# MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.32.
|
|
253
|
+
# MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md054.md
|
|
254
254
|
MD054:
|
|
255
255
|
# Allow autolinks
|
|
256
256
|
autolink: true
|