markdownlint 0.32.1 → 0.33.0
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 +10 -0
- package/README.md +6 -0
- package/demo/markdownlint-browser.js +2292 -3179
- package/doc/Rules.md +99 -5
- package/doc/md024.md +2 -5
- package/doc/md055.md +54 -0
- package/doc/md056.md +37 -0
- package/helpers/README.md +3 -3
- package/helpers/micromark.cjs +3 -2
- package/helpers/package.json +1 -1
- package/lib/configuration.d.ts +136 -110
- package/lib/constants.js +1 -1
- package/lib/markdownlint.js +0 -1
- package/lib/md005.js +3 -3
- package/lib/md007.js +3 -2
- package/lib/md024.js +8 -4
- package/lib/md026.js +2 -2
- package/lib/md038.js +17 -15
- package/lib/md055.js +72 -0
- package/lib/md056.js +44 -0
- package/lib/rules.js +5 -3
- package/package.json +22 -23
- package/schema/.markdownlint.jsonc +58 -51
- package/schema/.markdownlint.yaml +56 -50
- package/schema/ValidatingConfiguration.md +28 -0
- package/schema/markdownlint-config-schema.json +165 -113
|
@@ -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.
|
|
10
|
+
// MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md001.md
|
|
11
11
|
"MD001": true,
|
|
12
12
|
|
|
13
|
-
// MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
13
|
+
// MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
19
|
+
// MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
25
|
+
// MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md005.md
|
|
26
26
|
"MD005": true,
|
|
27
27
|
|
|
28
|
-
// MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
28
|
+
// MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
38
|
+
// MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
48
|
+
// MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
58
|
+
// MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
61
|
+
// MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
67
|
+
// MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
87
|
+
// MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
90
|
+
// MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
93
|
+
// MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
96
|
+
// MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
99
|
+
// MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
102
|
+
// MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md022.md
|
|
103
103
|
"MD022": {
|
|
104
104
|
// Blank lines above heading
|
|
105
105
|
"lines_above": 1,
|
|
@@ -107,18 +107,16 @@
|
|
|
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.
|
|
110
|
+
// MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
113
|
+
// MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md024.md
|
|
114
114
|
"MD024": {
|
|
115
|
-
// Only check sibling headings
|
|
116
|
-
"allow_different_nesting": false,
|
|
117
115
|
// Only check sibling headings
|
|
118
116
|
"siblings_only": false
|
|
119
117
|
},
|
|
120
118
|
|
|
121
|
-
// MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
119
|
+
// MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md025.md
|
|
122
120
|
"MD025": {
|
|
123
121
|
// Heading level
|
|
124
122
|
"level": 1,
|
|
@@ -126,25 +124,25 @@
|
|
|
126
124
|
"front_matter_title": "^\\s*title\\s*[:=]"
|
|
127
125
|
},
|
|
128
126
|
|
|
129
|
-
// MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
127
|
+
// MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md026.md
|
|
130
128
|
"MD026": {
|
|
131
129
|
// Punctuation characters
|
|
132
130
|
"punctuation": ".,;:!。,;:!"
|
|
133
131
|
},
|
|
134
132
|
|
|
135
|
-
// MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
133
|
+
// MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md027.md
|
|
136
134
|
"MD027": true,
|
|
137
135
|
|
|
138
|
-
// MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
136
|
+
// MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md028.md
|
|
139
137
|
"MD028": true,
|
|
140
138
|
|
|
141
|
-
// MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
139
|
+
// MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md029.md
|
|
142
140
|
"MD029": {
|
|
143
141
|
// List style
|
|
144
142
|
"style": "one_or_ordered"
|
|
145
143
|
},
|
|
146
144
|
|
|
147
|
-
// MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
145
|
+
// MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md030.md
|
|
148
146
|
"MD030": {
|
|
149
147
|
// Spaces for single-line unordered list items
|
|
150
148
|
"ul_single": 1,
|
|
@@ -156,46 +154,46 @@
|
|
|
156
154
|
"ol_multi": 1
|
|
157
155
|
},
|
|
158
156
|
|
|
159
|
-
// MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
157
|
+
// MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md031.md
|
|
160
158
|
"MD031": {
|
|
161
159
|
// Include list items
|
|
162
160
|
"list_items": true
|
|
163
161
|
},
|
|
164
162
|
|
|
165
|
-
// MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
163
|
+
// MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md032.md
|
|
166
164
|
"MD032": true,
|
|
167
165
|
|
|
168
|
-
// MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
166
|
+
// MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md033.md
|
|
169
167
|
"MD033": {
|
|
170
168
|
// Allowed elements
|
|
171
169
|
"allowed_elements": []
|
|
172
170
|
},
|
|
173
171
|
|
|
174
|
-
// MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
172
|
+
// MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md034.md
|
|
175
173
|
"MD034": true,
|
|
176
174
|
|
|
177
|
-
// MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
175
|
+
// MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md035.md
|
|
178
176
|
"MD035": {
|
|
179
177
|
// Horizontal rule style
|
|
180
178
|
"style": "consistent"
|
|
181
179
|
},
|
|
182
180
|
|
|
183
|
-
// MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
181
|
+
// MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md036.md
|
|
184
182
|
"MD036": {
|
|
185
183
|
// Punctuation characters
|
|
186
184
|
"punctuation": ".,;:!?。,;:!?"
|
|
187
185
|
},
|
|
188
186
|
|
|
189
|
-
// MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
187
|
+
// MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md037.md
|
|
190
188
|
"MD037": true,
|
|
191
189
|
|
|
192
|
-
// MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
190
|
+
// MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md038.md
|
|
193
191
|
"MD038": true,
|
|
194
192
|
|
|
195
|
-
// MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
193
|
+
// MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md039.md
|
|
196
194
|
"MD039": true,
|
|
197
195
|
|
|
198
|
-
// MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
196
|
+
// MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md040.md
|
|
199
197
|
"MD040": {
|
|
200
198
|
// List of languages
|
|
201
199
|
"allowed_languages": [],
|
|
@@ -203,7 +201,7 @@
|
|
|
203
201
|
"language_only": false
|
|
204
202
|
},
|
|
205
203
|
|
|
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.
|
|
204
|
+
// 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.33.0/doc/md041.md
|
|
207
205
|
"MD041": {
|
|
208
206
|
// Heading level
|
|
209
207
|
"level": 1,
|
|
@@ -211,10 +209,10 @@
|
|
|
211
209
|
"front_matter_title": "^\\s*title\\s*[:=]"
|
|
212
210
|
},
|
|
213
211
|
|
|
214
|
-
// MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
212
|
+
// MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md042.md
|
|
215
213
|
"MD042": true,
|
|
216
214
|
|
|
217
|
-
// MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
215
|
+
// MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md043.md
|
|
218
216
|
"MD043": {
|
|
219
217
|
// List of headings
|
|
220
218
|
"headings": [],
|
|
@@ -222,7 +220,7 @@
|
|
|
222
220
|
"match_case": false
|
|
223
221
|
},
|
|
224
222
|
|
|
225
|
-
// MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
223
|
+
// MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md044.md
|
|
226
224
|
"MD044": {
|
|
227
225
|
// List of proper names
|
|
228
226
|
"names": [],
|
|
@@ -232,46 +230,46 @@
|
|
|
232
230
|
"html_elements": true
|
|
233
231
|
},
|
|
234
232
|
|
|
235
|
-
// MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
233
|
+
// MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md045.md
|
|
236
234
|
"MD045": true,
|
|
237
235
|
|
|
238
|
-
// MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
236
|
+
// MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md046.md
|
|
239
237
|
"MD046": {
|
|
240
238
|
// Block style
|
|
241
239
|
"style": "consistent"
|
|
242
240
|
},
|
|
243
241
|
|
|
244
|
-
// MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
242
|
+
// MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md047.md
|
|
245
243
|
"MD047": true,
|
|
246
244
|
|
|
247
|
-
// MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
245
|
+
// MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md048.md
|
|
248
246
|
"MD048": {
|
|
249
247
|
// Code fence style
|
|
250
248
|
"style": "consistent"
|
|
251
249
|
},
|
|
252
250
|
|
|
253
|
-
// MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
251
|
+
// MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md049.md
|
|
254
252
|
"MD049": {
|
|
255
253
|
// Emphasis style
|
|
256
254
|
"style": "consistent"
|
|
257
255
|
},
|
|
258
256
|
|
|
259
|
-
// MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
257
|
+
// MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md050.md
|
|
260
258
|
"MD050": {
|
|
261
259
|
// Strong style
|
|
262
260
|
"style": "consistent"
|
|
263
261
|
},
|
|
264
262
|
|
|
265
|
-
// MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
263
|
+
// MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md051.md
|
|
266
264
|
"MD051": true,
|
|
267
265
|
|
|
268
|
-
// MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
266
|
+
// MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md052.md
|
|
269
267
|
"MD052": {
|
|
270
268
|
// Include shortcut syntax
|
|
271
269
|
"shortcut_syntax": false
|
|
272
270
|
},
|
|
273
271
|
|
|
274
|
-
// MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
272
|
+
// MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md053.md
|
|
275
273
|
"MD053": {
|
|
276
274
|
// Ignored definitions
|
|
277
275
|
"ignored_definitions": [
|
|
@@ -279,7 +277,7 @@
|
|
|
279
277
|
]
|
|
280
278
|
},
|
|
281
279
|
|
|
282
|
-
// MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
280
|
+
// MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md054.md
|
|
283
281
|
"MD054": {
|
|
284
282
|
// Allow autolinks
|
|
285
283
|
"autolink": true,
|
|
@@ -293,5 +291,14 @@
|
|
|
293
291
|
"shortcut": true,
|
|
294
292
|
// Allow URLs as inline links
|
|
295
293
|
"url_inline": true
|
|
296
|
-
}
|
|
294
|
+
},
|
|
295
|
+
|
|
296
|
+
// MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md055.md
|
|
297
|
+
"MD055": {
|
|
298
|
+
// Table pipe style
|
|
299
|
+
"style": "consistent"
|
|
300
|
+
},
|
|
301
|
+
|
|
302
|
+
// MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md056.md
|
|
303
|
+
"MD056": true
|
|
297
304
|
}
|
|
@@ -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.
|
|
9
|
+
# MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md001.md
|
|
10
10
|
MD001: true
|
|
11
11
|
|
|
12
|
-
# MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
12
|
+
# MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
17
|
+
# MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
22
|
+
# MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md005.md
|
|
23
23
|
MD005: true
|
|
24
24
|
|
|
25
|
-
# MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
25
|
+
# MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
34
|
+
# MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
43
|
+
# MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
52
|
+
# MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
55
|
+
# MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
60
|
+
# MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md013.md
|
|
61
61
|
MD013:
|
|
62
62
|
# Number of characters
|
|
63
63
|
line_length: 80
|
|
@@ -76,62 +76,60 @@ 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.
|
|
79
|
+
# MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
82
|
+
# MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
85
|
+
# MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
88
|
+
# MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
91
|
+
# MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
94
|
+
# MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
101
|
+
# MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/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.
|
|
104
|
+
# MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md024.md
|
|
105
105
|
MD024:
|
|
106
|
-
# Only check sibling headings
|
|
107
|
-
allow_different_nesting: false
|
|
108
106
|
# Only check sibling headings
|
|
109
107
|
siblings_only: false
|
|
110
108
|
|
|
111
|
-
# MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
109
|
+
# MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md025.md
|
|
112
110
|
MD025:
|
|
113
111
|
# Heading level
|
|
114
112
|
level: 1
|
|
115
113
|
# RegExp for matching title in front matter
|
|
116
114
|
front_matter_title: "^\\s*title\\s*[:=]"
|
|
117
115
|
|
|
118
|
-
# MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
116
|
+
# MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md026.md
|
|
119
117
|
MD026:
|
|
120
118
|
# Punctuation characters
|
|
121
119
|
punctuation: ".,;:!。,;:!"
|
|
122
120
|
|
|
123
|
-
# MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
121
|
+
# MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md027.md
|
|
124
122
|
MD027: true
|
|
125
123
|
|
|
126
|
-
# MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
124
|
+
# MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md028.md
|
|
127
125
|
MD028: true
|
|
128
126
|
|
|
129
|
-
# MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
127
|
+
# MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md029.md
|
|
130
128
|
MD029:
|
|
131
129
|
# List style
|
|
132
130
|
style: "one_or_ordered"
|
|
133
131
|
|
|
134
|
-
# MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
132
|
+
# MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md030.md
|
|
135
133
|
MD030:
|
|
136
134
|
# Spaces for single-line unordered list items
|
|
137
135
|
ul_single: 1
|
|
@@ -142,66 +140,66 @@ MD030:
|
|
|
142
140
|
# Spaces for multi-line ordered list items
|
|
143
141
|
ol_multi: 1
|
|
144
142
|
|
|
145
|
-
# MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
143
|
+
# MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md031.md
|
|
146
144
|
MD031:
|
|
147
145
|
# Include list items
|
|
148
146
|
list_items: true
|
|
149
147
|
|
|
150
|
-
# MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
148
|
+
# MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md032.md
|
|
151
149
|
MD032: true
|
|
152
150
|
|
|
153
|
-
# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
151
|
+
# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md033.md
|
|
154
152
|
MD033:
|
|
155
153
|
# Allowed elements
|
|
156
154
|
allowed_elements: []
|
|
157
155
|
|
|
158
|
-
# MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
156
|
+
# MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md034.md
|
|
159
157
|
MD034: true
|
|
160
158
|
|
|
161
|
-
# MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
159
|
+
# MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md035.md
|
|
162
160
|
MD035:
|
|
163
161
|
# Horizontal rule style
|
|
164
162
|
style: "consistent"
|
|
165
163
|
|
|
166
|
-
# MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
164
|
+
# MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md036.md
|
|
167
165
|
MD036:
|
|
168
166
|
# Punctuation characters
|
|
169
167
|
punctuation: ".,;:!?。,;:!?"
|
|
170
168
|
|
|
171
|
-
# MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
169
|
+
# MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md037.md
|
|
172
170
|
MD037: true
|
|
173
171
|
|
|
174
|
-
# MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
172
|
+
# MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md038.md
|
|
175
173
|
MD038: true
|
|
176
174
|
|
|
177
|
-
# MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
175
|
+
# MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md039.md
|
|
178
176
|
MD039: true
|
|
179
177
|
|
|
180
|
-
# MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
178
|
+
# MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md040.md
|
|
181
179
|
MD040:
|
|
182
180
|
# List of languages
|
|
183
181
|
allowed_languages: []
|
|
184
182
|
# Require language only
|
|
185
183
|
language_only: false
|
|
186
184
|
|
|
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.
|
|
185
|
+
# 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.33.0/doc/md041.md
|
|
188
186
|
MD041:
|
|
189
187
|
# Heading level
|
|
190
188
|
level: 1
|
|
191
189
|
# RegExp for matching title in front matter
|
|
192
190
|
front_matter_title: "^\\s*title\\s*[:=]"
|
|
193
191
|
|
|
194
|
-
# MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
192
|
+
# MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md042.md
|
|
195
193
|
MD042: true
|
|
196
194
|
|
|
197
|
-
# MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
195
|
+
# MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md043.md
|
|
198
196
|
MD043:
|
|
199
197
|
# List of headings
|
|
200
198
|
headings: []
|
|
201
199
|
# Match case of headings
|
|
202
200
|
match_case: false
|
|
203
201
|
|
|
204
|
-
# MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
202
|
+
# MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md044.md
|
|
205
203
|
MD044:
|
|
206
204
|
# List of proper names
|
|
207
205
|
names: []
|
|
@@ -210,47 +208,47 @@ MD044:
|
|
|
210
208
|
# Include HTML elements
|
|
211
209
|
html_elements: true
|
|
212
210
|
|
|
213
|
-
# MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
211
|
+
# MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md045.md
|
|
214
212
|
MD045: true
|
|
215
213
|
|
|
216
|
-
# MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
214
|
+
# MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md046.md
|
|
217
215
|
MD046:
|
|
218
216
|
# Block style
|
|
219
217
|
style: "consistent"
|
|
220
218
|
|
|
221
|
-
# MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
219
|
+
# MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md047.md
|
|
222
220
|
MD047: true
|
|
223
221
|
|
|
224
|
-
# MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
222
|
+
# MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md048.md
|
|
225
223
|
MD048:
|
|
226
224
|
# Code fence style
|
|
227
225
|
style: "consistent"
|
|
228
226
|
|
|
229
|
-
# MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
227
|
+
# MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md049.md
|
|
230
228
|
MD049:
|
|
231
229
|
# Emphasis style
|
|
232
230
|
style: "consistent"
|
|
233
231
|
|
|
234
|
-
# MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
232
|
+
# MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md050.md
|
|
235
233
|
MD050:
|
|
236
234
|
# Strong style
|
|
237
235
|
style: "consistent"
|
|
238
236
|
|
|
239
|
-
# MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
237
|
+
# MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md051.md
|
|
240
238
|
MD051: true
|
|
241
239
|
|
|
242
|
-
# MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
240
|
+
# MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md052.md
|
|
243
241
|
MD052:
|
|
244
242
|
# Include shortcut syntax
|
|
245
243
|
shortcut_syntax: false
|
|
246
244
|
|
|
247
|
-
# MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
245
|
+
# MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md053.md
|
|
248
246
|
MD053:
|
|
249
247
|
# Ignored definitions
|
|
250
248
|
ignored_definitions:
|
|
251
249
|
- "//"
|
|
252
250
|
|
|
253
|
-
# MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
251
|
+
# MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md054.md
|
|
254
252
|
MD054:
|
|
255
253
|
# Allow autolinks
|
|
256
254
|
autolink: true
|
|
@@ -264,3 +262,11 @@ MD054:
|
|
|
264
262
|
shortcut: true
|
|
265
263
|
# Allow URLs as inline links
|
|
266
264
|
url_inline: true
|
|
265
|
+
|
|
266
|
+
# MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md055.md
|
|
267
|
+
MD055:
|
|
268
|
+
# Table pipe style
|
|
269
|
+
style: "consistent"
|
|
270
|
+
|
|
271
|
+
# MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md056.md
|
|
272
|
+
MD056: true
|