markdownlint 0.37.4 → 0.39.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 +20 -0
- package/CONTRIBUTING.md +2 -3
- package/README.md +175 -87
- package/doc/Rules.md +273 -47
- package/doc/md001.md +14 -0
- package/doc/md009.md +8 -9
- package/doc/md010.md +6 -0
- package/doc/md027.md +8 -0
- package/doc/md029.md +2 -0
- package/doc/md033.md +7 -1
- package/doc/md038.md +23 -11
- package/doc/md041.md +31 -16
- package/doc/md043.md +22 -4
- package/doc/md045.md +9 -1
- package/doc/md051.md +17 -0
- package/doc/md052.md +12 -0
- package/doc/md053.md +3 -3
- package/doc/md055.md +1 -1
- package/doc/md056.md +1 -1
- package/doc/md059.md +33 -0
- package/doc/md060.md +70 -0
- package/helpers/README.md +2 -2
- package/helpers/helpers.cjs +174 -20
- package/helpers/micromark-helpers.cjs +37 -7
- package/helpers/package.json +1 -1
- package/lib/cache.mjs +25 -7
- package/lib/configuration-strict.d.ts +1494 -292
- package/lib/constants.mjs +6 -5
- package/lib/defer-require.cjs +2 -0
- package/lib/exports.d.mts +2 -2
- package/lib/exports.mjs +2 -2
- package/lib/markdownit.cjs +8 -14
- package/lib/markdownlint.d.mts +136 -52
- package/lib/markdownlint.mjs +469 -409
- package/lib/md001.mjs +6 -2
- package/lib/md004.mjs +7 -18
- package/lib/md007.mjs +2 -1
- package/lib/md009.mjs +9 -5
- package/lib/md010.mjs +1 -1
- package/lib/md022.mjs +5 -2
- package/lib/md025.mjs +23 -15
- package/lib/md027.mjs +11 -1
- package/lib/md029.mjs +25 -14
- package/lib/md031.mjs +0 -1
- package/lib/md032.mjs +3 -1
- package/lib/md033.mjs +28 -20
- package/lib/md034.mjs +2 -1
- package/lib/md036.mjs +16 -4
- package/lib/md037.mjs +10 -7
- package/lib/md038.mjs +52 -71
- package/lib/md041.mjs +54 -16
- package/lib/md042.mjs +4 -2
- package/lib/md043.mjs +4 -2
- package/lib/md044.mjs +1 -1
- package/lib/md045.mjs +3 -1
- package/lib/md046.mjs +6 -6
- package/lib/md051.mjs +13 -5
- package/lib/md052.mjs +2 -1
- package/lib/md053.mjs +1 -1
- package/lib/md054.mjs +7 -5
- package/lib/md055.mjs +7 -6
- package/lib/md056.mjs +1 -1
- package/lib/md059.mjs +71 -0
- package/lib/md060.mjs +121 -0
- package/lib/micromark-parse.mjs +17 -3
- package/lib/node-imports-browser.mjs +2 -0
- package/lib/parse-configuration.mjs +47 -0
- package/lib/rules.mjs +5 -1
- package/package.json +32 -30
- package/schema/.markdownlint.jsonc +97 -62
- package/schema/.markdownlint.yaml +86 -57
- package/schema/markdownlint-config-schema-strict.json +4713 -1436
- package/schema/markdownlint-config-schema.json +4713 -1436
|
@@ -13,77 +13,178 @@ export interface ConfigurationStrict {
|
|
|
13
13
|
/**
|
|
14
14
|
* Default state for all rules
|
|
15
15
|
*/
|
|
16
|
-
default?: boolean;
|
|
16
|
+
default?: boolean | ("error" | "warning");
|
|
17
17
|
/**
|
|
18
18
|
* Path to configuration file to extend
|
|
19
19
|
*/
|
|
20
20
|
extends?: string | null;
|
|
21
21
|
/**
|
|
22
|
-
* MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
22
|
+
* MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md001.md
|
|
23
23
|
*/
|
|
24
|
-
MD001?:
|
|
24
|
+
MD001?:
|
|
25
|
+
| boolean
|
|
26
|
+
| ("error" | "warning")
|
|
27
|
+
| {
|
|
28
|
+
/**
|
|
29
|
+
* Whether to enable the rule
|
|
30
|
+
*/
|
|
31
|
+
enabled?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Rule severity
|
|
34
|
+
*/
|
|
35
|
+
severity?: "error" | "warning";
|
|
36
|
+
/**
|
|
37
|
+
* RegExp for matching title in front matter
|
|
38
|
+
*/
|
|
39
|
+
front_matter_title?: string;
|
|
40
|
+
};
|
|
25
41
|
/**
|
|
26
|
-
* MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
42
|
+
* MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md001.md
|
|
27
43
|
*/
|
|
28
|
-
"heading-increment"?:
|
|
44
|
+
"heading-increment"?:
|
|
45
|
+
| boolean
|
|
46
|
+
| ("error" | "warning")
|
|
47
|
+
| {
|
|
48
|
+
/**
|
|
49
|
+
* Whether to enable the rule
|
|
50
|
+
*/
|
|
51
|
+
enabled?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Rule severity
|
|
54
|
+
*/
|
|
55
|
+
severity?: "error" | "warning";
|
|
56
|
+
/**
|
|
57
|
+
* RegExp for matching title in front matter
|
|
58
|
+
*/
|
|
59
|
+
front_matter_title?: string;
|
|
60
|
+
};
|
|
29
61
|
/**
|
|
30
|
-
* MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
62
|
+
* MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md003.md
|
|
31
63
|
*/
|
|
32
64
|
MD003?:
|
|
33
65
|
| boolean
|
|
66
|
+
| ("error" | "warning")
|
|
34
67
|
| {
|
|
68
|
+
/**
|
|
69
|
+
* Whether to enable the rule
|
|
70
|
+
*/
|
|
71
|
+
enabled?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Rule severity
|
|
74
|
+
*/
|
|
75
|
+
severity?: "error" | "warning";
|
|
35
76
|
/**
|
|
36
77
|
* Heading style
|
|
37
78
|
*/
|
|
38
79
|
style?: "consistent" | "atx" | "atx_closed" | "setext" | "setext_with_atx" | "setext_with_atx_closed";
|
|
39
80
|
};
|
|
40
81
|
/**
|
|
41
|
-
* MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
82
|
+
* MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md003.md
|
|
42
83
|
*/
|
|
43
84
|
"heading-style"?:
|
|
44
85
|
| boolean
|
|
86
|
+
| ("error" | "warning")
|
|
45
87
|
| {
|
|
88
|
+
/**
|
|
89
|
+
* Whether to enable the rule
|
|
90
|
+
*/
|
|
91
|
+
enabled?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Rule severity
|
|
94
|
+
*/
|
|
95
|
+
severity?: "error" | "warning";
|
|
46
96
|
/**
|
|
47
97
|
* Heading style
|
|
48
98
|
*/
|
|
49
99
|
style?: "consistent" | "atx" | "atx_closed" | "setext" | "setext_with_atx" | "setext_with_atx_closed";
|
|
50
100
|
};
|
|
51
101
|
/**
|
|
52
|
-
* MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
102
|
+
* MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md004.md
|
|
53
103
|
*/
|
|
54
104
|
MD004?:
|
|
55
105
|
| boolean
|
|
106
|
+
| ("error" | "warning")
|
|
56
107
|
| {
|
|
108
|
+
/**
|
|
109
|
+
* Whether to enable the rule
|
|
110
|
+
*/
|
|
111
|
+
enabled?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Rule severity
|
|
114
|
+
*/
|
|
115
|
+
severity?: "error" | "warning";
|
|
57
116
|
/**
|
|
58
117
|
* List style
|
|
59
118
|
*/
|
|
60
119
|
style?: "consistent" | "asterisk" | "plus" | "dash" | "sublist";
|
|
61
120
|
};
|
|
62
121
|
/**
|
|
63
|
-
* MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
122
|
+
* MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md004.md
|
|
64
123
|
*/
|
|
65
124
|
"ul-style"?:
|
|
66
125
|
| boolean
|
|
126
|
+
| ("error" | "warning")
|
|
67
127
|
| {
|
|
128
|
+
/**
|
|
129
|
+
* Whether to enable the rule
|
|
130
|
+
*/
|
|
131
|
+
enabled?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Rule severity
|
|
134
|
+
*/
|
|
135
|
+
severity?: "error" | "warning";
|
|
68
136
|
/**
|
|
69
137
|
* List style
|
|
70
138
|
*/
|
|
71
139
|
style?: "consistent" | "asterisk" | "plus" | "dash" | "sublist";
|
|
72
140
|
};
|
|
73
141
|
/**
|
|
74
|
-
* MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
142
|
+
* MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md005.md
|
|
75
143
|
*/
|
|
76
|
-
MD005?:
|
|
144
|
+
MD005?:
|
|
145
|
+
| boolean
|
|
146
|
+
| ("error" | "warning")
|
|
147
|
+
| {
|
|
148
|
+
/**
|
|
149
|
+
* Whether to enable the rule
|
|
150
|
+
*/
|
|
151
|
+
enabled?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* Rule severity
|
|
154
|
+
*/
|
|
155
|
+
severity?: "error" | "warning";
|
|
156
|
+
};
|
|
77
157
|
/**
|
|
78
|
-
* MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
158
|
+
* MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md005.md
|
|
79
159
|
*/
|
|
80
|
-
"list-indent"?:
|
|
160
|
+
"list-indent"?:
|
|
161
|
+
| boolean
|
|
162
|
+
| ("error" | "warning")
|
|
163
|
+
| {
|
|
164
|
+
/**
|
|
165
|
+
* Whether to enable the rule
|
|
166
|
+
*/
|
|
167
|
+
enabled?: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* Rule severity
|
|
170
|
+
*/
|
|
171
|
+
severity?: "error" | "warning";
|
|
172
|
+
};
|
|
81
173
|
/**
|
|
82
|
-
* MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
174
|
+
* MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md007.md
|
|
83
175
|
*/
|
|
84
176
|
MD007?:
|
|
85
177
|
| boolean
|
|
178
|
+
| ("error" | "warning")
|
|
86
179
|
| {
|
|
180
|
+
/**
|
|
181
|
+
* Whether to enable the rule
|
|
182
|
+
*/
|
|
183
|
+
enabled?: boolean;
|
|
184
|
+
/**
|
|
185
|
+
* Rule severity
|
|
186
|
+
*/
|
|
187
|
+
severity?: "error" | "warning";
|
|
87
188
|
/**
|
|
88
189
|
* Spaces for indent
|
|
89
190
|
*/
|
|
@@ -98,11 +199,20 @@ export interface ConfigurationStrict {
|
|
|
98
199
|
start_indent?: number;
|
|
99
200
|
};
|
|
100
201
|
/**
|
|
101
|
-
* MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
202
|
+
* MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md007.md
|
|
102
203
|
*/
|
|
103
204
|
"ul-indent"?:
|
|
104
205
|
| boolean
|
|
206
|
+
| ("error" | "warning")
|
|
105
207
|
| {
|
|
208
|
+
/**
|
|
209
|
+
* Whether to enable the rule
|
|
210
|
+
*/
|
|
211
|
+
enabled?: boolean;
|
|
212
|
+
/**
|
|
213
|
+
* Rule severity
|
|
214
|
+
*/
|
|
215
|
+
severity?: "error" | "warning";
|
|
106
216
|
/**
|
|
107
217
|
* Spaces for indent
|
|
108
218
|
*/
|
|
@@ -117,15 +227,28 @@ export interface ConfigurationStrict {
|
|
|
117
227
|
start_indent?: number;
|
|
118
228
|
};
|
|
119
229
|
/**
|
|
120
|
-
* MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
230
|
+
* MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md009.md
|
|
121
231
|
*/
|
|
122
232
|
MD009?:
|
|
123
233
|
| boolean
|
|
234
|
+
| ("error" | "warning")
|
|
124
235
|
| {
|
|
236
|
+
/**
|
|
237
|
+
* Whether to enable the rule
|
|
238
|
+
*/
|
|
239
|
+
enabled?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Rule severity
|
|
242
|
+
*/
|
|
243
|
+
severity?: "error" | "warning";
|
|
125
244
|
/**
|
|
126
245
|
* Spaces for line break
|
|
127
246
|
*/
|
|
128
247
|
br_spaces?: number;
|
|
248
|
+
/**
|
|
249
|
+
* Include code blocks
|
|
250
|
+
*/
|
|
251
|
+
code_blocks?: boolean;
|
|
129
252
|
/**
|
|
130
253
|
* Allow spaces for empty lines in list items
|
|
131
254
|
*/
|
|
@@ -136,15 +259,28 @@ export interface ConfigurationStrict {
|
|
|
136
259
|
strict?: boolean;
|
|
137
260
|
};
|
|
138
261
|
/**
|
|
139
|
-
* MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
262
|
+
* MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md009.md
|
|
140
263
|
*/
|
|
141
264
|
"no-trailing-spaces"?:
|
|
142
265
|
| boolean
|
|
266
|
+
| ("error" | "warning")
|
|
143
267
|
| {
|
|
268
|
+
/**
|
|
269
|
+
* Whether to enable the rule
|
|
270
|
+
*/
|
|
271
|
+
enabled?: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* Rule severity
|
|
274
|
+
*/
|
|
275
|
+
severity?: "error" | "warning";
|
|
144
276
|
/**
|
|
145
277
|
* Spaces for line break
|
|
146
278
|
*/
|
|
147
279
|
br_spaces?: number;
|
|
280
|
+
/**
|
|
281
|
+
* Include code blocks
|
|
282
|
+
*/
|
|
283
|
+
code_blocks?: boolean;
|
|
148
284
|
/**
|
|
149
285
|
* Allow spaces for empty lines in list items
|
|
150
286
|
*/
|
|
@@ -155,11 +291,20 @@ export interface ConfigurationStrict {
|
|
|
155
291
|
strict?: boolean;
|
|
156
292
|
};
|
|
157
293
|
/**
|
|
158
|
-
* MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
294
|
+
* MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md010.md
|
|
159
295
|
*/
|
|
160
296
|
MD010?:
|
|
161
297
|
| boolean
|
|
298
|
+
| ("error" | "warning")
|
|
162
299
|
| {
|
|
300
|
+
/**
|
|
301
|
+
* Whether to enable the rule
|
|
302
|
+
*/
|
|
303
|
+
enabled?: boolean;
|
|
304
|
+
/**
|
|
305
|
+
* Rule severity
|
|
306
|
+
*/
|
|
307
|
+
severity?: "error" | "warning";
|
|
163
308
|
/**
|
|
164
309
|
* Include code blocks
|
|
165
310
|
*/
|
|
@@ -174,11 +319,20 @@ export interface ConfigurationStrict {
|
|
|
174
319
|
spaces_per_tab?: number;
|
|
175
320
|
};
|
|
176
321
|
/**
|
|
177
|
-
* MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
322
|
+
* MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md010.md
|
|
178
323
|
*/
|
|
179
324
|
"no-hard-tabs"?:
|
|
180
325
|
| boolean
|
|
326
|
+
| ("error" | "warning")
|
|
181
327
|
| {
|
|
328
|
+
/**
|
|
329
|
+
* Whether to enable the rule
|
|
330
|
+
*/
|
|
331
|
+
enabled?: boolean;
|
|
332
|
+
/**
|
|
333
|
+
* Rule severity
|
|
334
|
+
*/
|
|
335
|
+
severity?: "error" | "warning";
|
|
182
336
|
/**
|
|
183
337
|
* Include code blocks
|
|
184
338
|
*/
|
|
@@ -193,41 +347,92 @@ export interface ConfigurationStrict {
|
|
|
193
347
|
spaces_per_tab?: number;
|
|
194
348
|
};
|
|
195
349
|
/**
|
|
196
|
-
* MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
350
|
+
* MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md011.md
|
|
197
351
|
*/
|
|
198
|
-
MD011?:
|
|
352
|
+
MD011?:
|
|
353
|
+
| boolean
|
|
354
|
+
| ("error" | "warning")
|
|
355
|
+
| {
|
|
356
|
+
/**
|
|
357
|
+
* Whether to enable the rule
|
|
358
|
+
*/
|
|
359
|
+
enabled?: boolean;
|
|
360
|
+
/**
|
|
361
|
+
* Rule severity
|
|
362
|
+
*/
|
|
363
|
+
severity?: "error" | "warning";
|
|
364
|
+
};
|
|
199
365
|
/**
|
|
200
|
-
* MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
366
|
+
* MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md011.md
|
|
201
367
|
*/
|
|
202
|
-
"no-reversed-links"?:
|
|
368
|
+
"no-reversed-links"?:
|
|
369
|
+
| boolean
|
|
370
|
+
| ("error" | "warning")
|
|
371
|
+
| {
|
|
372
|
+
/**
|
|
373
|
+
* Whether to enable the rule
|
|
374
|
+
*/
|
|
375
|
+
enabled?: boolean;
|
|
376
|
+
/**
|
|
377
|
+
* Rule severity
|
|
378
|
+
*/
|
|
379
|
+
severity?: "error" | "warning";
|
|
380
|
+
};
|
|
203
381
|
/**
|
|
204
|
-
* MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
382
|
+
* MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md012.md
|
|
205
383
|
*/
|
|
206
384
|
MD012?:
|
|
207
385
|
| boolean
|
|
386
|
+
| ("error" | "warning")
|
|
208
387
|
| {
|
|
388
|
+
/**
|
|
389
|
+
* Whether to enable the rule
|
|
390
|
+
*/
|
|
391
|
+
enabled?: boolean;
|
|
392
|
+
/**
|
|
393
|
+
* Rule severity
|
|
394
|
+
*/
|
|
395
|
+
severity?: "error" | "warning";
|
|
209
396
|
/**
|
|
210
397
|
* Consecutive blank lines
|
|
211
398
|
*/
|
|
212
399
|
maximum?: number;
|
|
213
400
|
};
|
|
214
401
|
/**
|
|
215
|
-
* MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
402
|
+
* MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md012.md
|
|
216
403
|
*/
|
|
217
404
|
"no-multiple-blanks"?:
|
|
218
405
|
| boolean
|
|
406
|
+
| ("error" | "warning")
|
|
219
407
|
| {
|
|
408
|
+
/**
|
|
409
|
+
* Whether to enable the rule
|
|
410
|
+
*/
|
|
411
|
+
enabled?: boolean;
|
|
412
|
+
/**
|
|
413
|
+
* Rule severity
|
|
414
|
+
*/
|
|
415
|
+
severity?: "error" | "warning";
|
|
220
416
|
/**
|
|
221
417
|
* Consecutive blank lines
|
|
222
418
|
*/
|
|
223
419
|
maximum?: number;
|
|
224
420
|
};
|
|
225
421
|
/**
|
|
226
|
-
* MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
422
|
+
* MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md013.md
|
|
227
423
|
*/
|
|
228
424
|
MD013?:
|
|
229
425
|
| boolean
|
|
426
|
+
| ("error" | "warning")
|
|
230
427
|
| {
|
|
428
|
+
/**
|
|
429
|
+
* Whether to enable the rule
|
|
430
|
+
*/
|
|
431
|
+
enabled?: boolean;
|
|
432
|
+
/**
|
|
433
|
+
* Rule severity
|
|
434
|
+
*/
|
|
435
|
+
severity?: "error" | "warning";
|
|
231
436
|
/**
|
|
232
437
|
* Number of characters
|
|
233
438
|
*/
|
|
@@ -262,11 +467,20 @@ export interface ConfigurationStrict {
|
|
|
262
467
|
stern?: boolean;
|
|
263
468
|
};
|
|
264
469
|
/**
|
|
265
|
-
* MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
470
|
+
* MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md013.md
|
|
266
471
|
*/
|
|
267
472
|
"line-length"?:
|
|
268
473
|
| boolean
|
|
474
|
+
| ("error" | "warning")
|
|
269
475
|
| {
|
|
476
|
+
/**
|
|
477
|
+
* Whether to enable the rule
|
|
478
|
+
*/
|
|
479
|
+
enabled?: boolean;
|
|
480
|
+
/**
|
|
481
|
+
* Rule severity
|
|
482
|
+
*/
|
|
483
|
+
severity?: "error" | "warning";
|
|
270
484
|
/**
|
|
271
485
|
* Number of characters
|
|
272
486
|
*/
|
|
@@ -301,390 +515,916 @@ export interface ConfigurationStrict {
|
|
|
301
515
|
stern?: boolean;
|
|
302
516
|
};
|
|
303
517
|
/**
|
|
304
|
-
* MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
305
|
-
*/
|
|
306
|
-
MD014?: boolean;
|
|
307
|
-
/**
|
|
308
|
-
* MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md014.md
|
|
309
|
-
*/
|
|
310
|
-
"commands-show-output"?: boolean;
|
|
311
|
-
/**
|
|
312
|
-
* MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md018.md
|
|
313
|
-
*/
|
|
314
|
-
MD018?: boolean;
|
|
315
|
-
/**
|
|
316
|
-
* MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md018.md
|
|
317
|
-
*/
|
|
318
|
-
"no-missing-space-atx"?: boolean;
|
|
319
|
-
/**
|
|
320
|
-
* MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md019.md
|
|
321
|
-
*/
|
|
322
|
-
MD019?: boolean;
|
|
323
|
-
/**
|
|
324
|
-
* MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md019.md
|
|
325
|
-
*/
|
|
326
|
-
"no-multiple-space-atx"?: boolean;
|
|
327
|
-
/**
|
|
328
|
-
* MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md020.md
|
|
329
|
-
*/
|
|
330
|
-
MD020?: boolean;
|
|
331
|
-
/**
|
|
332
|
-
* MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md020.md
|
|
518
|
+
* MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md014.md
|
|
333
519
|
*/
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md021.md
|
|
337
|
-
*/
|
|
338
|
-
MD021?: boolean;
|
|
339
|
-
/**
|
|
340
|
-
* MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md021.md
|
|
341
|
-
*/
|
|
342
|
-
"no-multiple-space-closed-atx"?: boolean;
|
|
343
|
-
/**
|
|
344
|
-
* MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md022.md
|
|
345
|
-
*/
|
|
346
|
-
MD022?:
|
|
520
|
+
MD014?:
|
|
347
521
|
| boolean
|
|
522
|
+
| ("error" | "warning")
|
|
348
523
|
| {
|
|
349
524
|
/**
|
|
350
|
-
*
|
|
525
|
+
* Whether to enable the rule
|
|
351
526
|
*/
|
|
352
|
-
|
|
527
|
+
enabled?: boolean;
|
|
353
528
|
/**
|
|
354
|
-
*
|
|
529
|
+
* Rule severity
|
|
355
530
|
*/
|
|
356
|
-
|
|
531
|
+
severity?: "error" | "warning";
|
|
357
532
|
};
|
|
358
533
|
/**
|
|
359
|
-
*
|
|
534
|
+
* MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md014.md
|
|
360
535
|
*/
|
|
361
|
-
"
|
|
536
|
+
"commands-show-output"?:
|
|
362
537
|
| boolean
|
|
538
|
+
| ("error" | "warning")
|
|
363
539
|
| {
|
|
364
540
|
/**
|
|
365
|
-
*
|
|
541
|
+
* Whether to enable the rule
|
|
366
542
|
*/
|
|
367
|
-
|
|
543
|
+
enabled?: boolean;
|
|
368
544
|
/**
|
|
369
|
-
*
|
|
545
|
+
* Rule severity
|
|
370
546
|
*/
|
|
371
|
-
|
|
547
|
+
severity?: "error" | "warning";
|
|
372
548
|
};
|
|
373
549
|
/**
|
|
374
|
-
*
|
|
550
|
+
* MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md
|
|
375
551
|
*/
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md023.md
|
|
379
|
-
*/
|
|
380
|
-
"heading-start-left"?: boolean;
|
|
381
|
-
/**
|
|
382
|
-
* MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md024.md
|
|
383
|
-
*/
|
|
384
|
-
MD024?:
|
|
552
|
+
MD018?:
|
|
385
553
|
| boolean
|
|
554
|
+
| ("error" | "warning")
|
|
386
555
|
| {
|
|
387
556
|
/**
|
|
388
|
-
*
|
|
557
|
+
* Whether to enable the rule
|
|
389
558
|
*/
|
|
390
|
-
|
|
391
|
-
};
|
|
392
|
-
/**
|
|
393
|
-
* MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md024.md
|
|
394
|
-
*/
|
|
395
|
-
"no-duplicate-heading"?:
|
|
396
|
-
| boolean
|
|
397
|
-
| {
|
|
559
|
+
enabled?: boolean;
|
|
398
560
|
/**
|
|
399
|
-
*
|
|
561
|
+
* Rule severity
|
|
400
562
|
*/
|
|
401
|
-
|
|
563
|
+
severity?: "error" | "warning";
|
|
402
564
|
};
|
|
403
565
|
/**
|
|
404
|
-
*
|
|
566
|
+
* MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md018.md
|
|
405
567
|
*/
|
|
406
|
-
|
|
568
|
+
"no-missing-space-atx"?:
|
|
407
569
|
| boolean
|
|
570
|
+
| ("error" | "warning")
|
|
408
571
|
| {
|
|
409
572
|
/**
|
|
410
|
-
*
|
|
573
|
+
* Whether to enable the rule
|
|
411
574
|
*/
|
|
412
|
-
|
|
575
|
+
enabled?: boolean;
|
|
413
576
|
/**
|
|
414
|
-
*
|
|
577
|
+
* Rule severity
|
|
415
578
|
*/
|
|
416
|
-
|
|
579
|
+
severity?: "error" | "warning";
|
|
417
580
|
};
|
|
418
581
|
/**
|
|
419
|
-
*
|
|
582
|
+
* MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md019.md
|
|
420
583
|
*/
|
|
421
|
-
|
|
584
|
+
MD019?:
|
|
422
585
|
| boolean
|
|
586
|
+
| ("error" | "warning")
|
|
423
587
|
| {
|
|
424
588
|
/**
|
|
425
|
-
*
|
|
589
|
+
* Whether to enable the rule
|
|
426
590
|
*/
|
|
427
|
-
|
|
591
|
+
enabled?: boolean;
|
|
428
592
|
/**
|
|
429
|
-
*
|
|
593
|
+
* Rule severity
|
|
430
594
|
*/
|
|
431
|
-
|
|
595
|
+
severity?: "error" | "warning";
|
|
432
596
|
};
|
|
433
597
|
/**
|
|
434
|
-
*
|
|
598
|
+
* MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md019.md
|
|
435
599
|
*/
|
|
436
|
-
"
|
|
600
|
+
"no-multiple-space-atx"?:
|
|
437
601
|
| boolean
|
|
602
|
+
| ("error" | "warning")
|
|
438
603
|
| {
|
|
439
604
|
/**
|
|
440
|
-
*
|
|
605
|
+
* Whether to enable the rule
|
|
441
606
|
*/
|
|
442
|
-
|
|
607
|
+
enabled?: boolean;
|
|
443
608
|
/**
|
|
444
|
-
*
|
|
609
|
+
* Rule severity
|
|
445
610
|
*/
|
|
446
|
-
|
|
611
|
+
severity?: "error" | "warning";
|
|
447
612
|
};
|
|
448
613
|
/**
|
|
449
|
-
*
|
|
614
|
+
* MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md020.md
|
|
450
615
|
*/
|
|
451
|
-
|
|
616
|
+
MD020?:
|
|
452
617
|
| boolean
|
|
618
|
+
| ("error" | "warning")
|
|
453
619
|
| {
|
|
454
620
|
/**
|
|
455
|
-
*
|
|
621
|
+
* Whether to enable the rule
|
|
456
622
|
*/
|
|
457
|
-
|
|
623
|
+
enabled?: boolean;
|
|
624
|
+
/**
|
|
625
|
+
* Rule severity
|
|
626
|
+
*/
|
|
627
|
+
severity?: "error" | "warning";
|
|
458
628
|
};
|
|
459
629
|
/**
|
|
460
|
-
*
|
|
630
|
+
* MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md020.md
|
|
461
631
|
*/
|
|
462
|
-
"no-
|
|
632
|
+
"no-missing-space-closed-atx"?:
|
|
463
633
|
| boolean
|
|
634
|
+
| ("error" | "warning")
|
|
464
635
|
| {
|
|
465
636
|
/**
|
|
466
|
-
*
|
|
637
|
+
* Whether to enable the rule
|
|
467
638
|
*/
|
|
468
|
-
|
|
639
|
+
enabled?: boolean;
|
|
640
|
+
/**
|
|
641
|
+
* Rule severity
|
|
642
|
+
*/
|
|
643
|
+
severity?: "error" | "warning";
|
|
469
644
|
};
|
|
470
645
|
/**
|
|
471
|
-
*
|
|
472
|
-
*/
|
|
473
|
-
MD027?: boolean;
|
|
474
|
-
/**
|
|
475
|
-
* MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md027.md
|
|
476
|
-
*/
|
|
477
|
-
"no-multiple-space-blockquote"?: boolean;
|
|
478
|
-
/**
|
|
479
|
-
* MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md028.md
|
|
480
|
-
*/
|
|
481
|
-
MD028?: boolean;
|
|
482
|
-
/**
|
|
483
|
-
* MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md028.md
|
|
484
|
-
*/
|
|
485
|
-
"no-blanks-blockquote"?: boolean;
|
|
486
|
-
/**
|
|
487
|
-
* MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md029.md
|
|
646
|
+
* MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md021.md
|
|
488
647
|
*/
|
|
489
|
-
|
|
648
|
+
MD021?:
|
|
490
649
|
| boolean
|
|
650
|
+
| ("error" | "warning")
|
|
491
651
|
| {
|
|
492
652
|
/**
|
|
493
|
-
*
|
|
653
|
+
* Whether to enable the rule
|
|
494
654
|
*/
|
|
495
|
-
|
|
655
|
+
enabled?: boolean;
|
|
656
|
+
/**
|
|
657
|
+
* Rule severity
|
|
658
|
+
*/
|
|
659
|
+
severity?: "error" | "warning";
|
|
496
660
|
};
|
|
497
661
|
/**
|
|
498
|
-
*
|
|
662
|
+
* MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md021.md
|
|
499
663
|
*/
|
|
500
|
-
"
|
|
664
|
+
"no-multiple-space-closed-atx"?:
|
|
501
665
|
| boolean
|
|
666
|
+
| ("error" | "warning")
|
|
502
667
|
| {
|
|
503
668
|
/**
|
|
504
|
-
*
|
|
669
|
+
* Whether to enable the rule
|
|
505
670
|
*/
|
|
506
|
-
|
|
671
|
+
enabled?: boolean;
|
|
672
|
+
/**
|
|
673
|
+
* Rule severity
|
|
674
|
+
*/
|
|
675
|
+
severity?: "error" | "warning";
|
|
507
676
|
};
|
|
508
677
|
/**
|
|
509
|
-
*
|
|
678
|
+
* MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md022.md
|
|
510
679
|
*/
|
|
511
|
-
|
|
680
|
+
MD022?:
|
|
512
681
|
| boolean
|
|
682
|
+
| ("error" | "warning")
|
|
513
683
|
| {
|
|
514
684
|
/**
|
|
515
|
-
*
|
|
685
|
+
* Whether to enable the rule
|
|
516
686
|
*/
|
|
517
|
-
|
|
687
|
+
enabled?: boolean;
|
|
518
688
|
/**
|
|
519
|
-
*
|
|
689
|
+
* Rule severity
|
|
520
690
|
*/
|
|
521
|
-
|
|
691
|
+
severity?: "error" | "warning";
|
|
522
692
|
/**
|
|
523
|
-
*
|
|
693
|
+
* Blank lines above heading
|
|
524
694
|
*/
|
|
525
|
-
|
|
695
|
+
lines_above?: number | number[];
|
|
526
696
|
/**
|
|
527
|
-
*
|
|
697
|
+
* Blank lines below heading
|
|
528
698
|
*/
|
|
529
|
-
|
|
699
|
+
lines_below?: number | number[];
|
|
530
700
|
};
|
|
531
701
|
/**
|
|
532
|
-
*
|
|
702
|
+
* MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md022.md
|
|
533
703
|
*/
|
|
534
|
-
"
|
|
704
|
+
"blanks-around-headings"?:
|
|
535
705
|
| boolean
|
|
706
|
+
| ("error" | "warning")
|
|
536
707
|
| {
|
|
537
708
|
/**
|
|
538
|
-
*
|
|
709
|
+
* Whether to enable the rule
|
|
539
710
|
*/
|
|
540
|
-
|
|
711
|
+
enabled?: boolean;
|
|
541
712
|
/**
|
|
542
|
-
*
|
|
713
|
+
* Rule severity
|
|
543
714
|
*/
|
|
544
|
-
|
|
715
|
+
severity?: "error" | "warning";
|
|
545
716
|
/**
|
|
546
|
-
*
|
|
717
|
+
* Blank lines above heading
|
|
547
718
|
*/
|
|
548
|
-
|
|
719
|
+
lines_above?: number | number[];
|
|
549
720
|
/**
|
|
550
|
-
*
|
|
721
|
+
* Blank lines below heading
|
|
551
722
|
*/
|
|
552
|
-
|
|
723
|
+
lines_below?: number | number[];
|
|
553
724
|
};
|
|
554
725
|
/**
|
|
555
|
-
*
|
|
726
|
+
* MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md023.md
|
|
556
727
|
*/
|
|
557
|
-
|
|
728
|
+
MD023?:
|
|
558
729
|
| boolean
|
|
730
|
+
| ("error" | "warning")
|
|
559
731
|
| {
|
|
560
732
|
/**
|
|
561
|
-
*
|
|
733
|
+
* Whether to enable the rule
|
|
562
734
|
*/
|
|
563
|
-
|
|
735
|
+
enabled?: boolean;
|
|
736
|
+
/**
|
|
737
|
+
* Rule severity
|
|
738
|
+
*/
|
|
739
|
+
severity?: "error" | "warning";
|
|
564
740
|
};
|
|
565
741
|
/**
|
|
566
|
-
*
|
|
742
|
+
* MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md023.md
|
|
567
743
|
*/
|
|
568
|
-
"
|
|
744
|
+
"heading-start-left"?:
|
|
569
745
|
| boolean
|
|
746
|
+
| ("error" | "warning")
|
|
570
747
|
| {
|
|
571
748
|
/**
|
|
572
|
-
*
|
|
749
|
+
* Whether to enable the rule
|
|
573
750
|
*/
|
|
574
|
-
|
|
751
|
+
enabled?: boolean;
|
|
752
|
+
/**
|
|
753
|
+
* Rule severity
|
|
754
|
+
*/
|
|
755
|
+
severity?: "error" | "warning";
|
|
575
756
|
};
|
|
576
757
|
/**
|
|
577
|
-
*
|
|
758
|
+
* MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md024.md
|
|
578
759
|
*/
|
|
579
|
-
|
|
580
|
-
/**
|
|
581
|
-
* MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md032.md
|
|
582
|
-
*/
|
|
583
|
-
"blanks-around-lists"?: boolean;
|
|
584
|
-
/**
|
|
585
|
-
* MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.37.4/doc/md033.md
|
|
586
|
-
*/
|
|
587
|
-
MD033?:
|
|
760
|
+
MD024?:
|
|
588
761
|
| boolean
|
|
762
|
+
| ("error" | "warning")
|
|
589
763
|
| {
|
|
590
764
|
/**
|
|
591
|
-
*
|
|
765
|
+
* Whether to enable the rule
|
|
592
766
|
*/
|
|
593
|
-
|
|
767
|
+
enabled?: boolean;
|
|
768
|
+
/**
|
|
769
|
+
* Rule severity
|
|
770
|
+
*/
|
|
771
|
+
severity?: "error" | "warning";
|
|
772
|
+
/**
|
|
773
|
+
* Only check sibling headings
|
|
774
|
+
*/
|
|
775
|
+
siblings_only?: boolean;
|
|
594
776
|
};
|
|
595
777
|
/**
|
|
596
|
-
*
|
|
778
|
+
* MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md024.md
|
|
597
779
|
*/
|
|
598
|
-
"no-
|
|
780
|
+
"no-duplicate-heading"?:
|
|
599
781
|
| boolean
|
|
782
|
+
| ("error" | "warning")
|
|
600
783
|
| {
|
|
784
|
+
/**
|
|
785
|
+
* Whether to enable the rule
|
|
786
|
+
*/
|
|
787
|
+
enabled?: boolean;
|
|
788
|
+
/**
|
|
789
|
+
* Rule severity
|
|
790
|
+
*/
|
|
791
|
+
severity?: "error" | "warning";
|
|
792
|
+
/**
|
|
793
|
+
* Only check sibling headings
|
|
794
|
+
*/
|
|
795
|
+
siblings_only?: boolean;
|
|
796
|
+
};
|
|
797
|
+
/**
|
|
798
|
+
* MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md
|
|
799
|
+
*/
|
|
800
|
+
MD025?:
|
|
801
|
+
| boolean
|
|
802
|
+
| ("error" | "warning")
|
|
803
|
+
| {
|
|
804
|
+
/**
|
|
805
|
+
* Whether to enable the rule
|
|
806
|
+
*/
|
|
807
|
+
enabled?: boolean;
|
|
808
|
+
/**
|
|
809
|
+
* Rule severity
|
|
810
|
+
*/
|
|
811
|
+
severity?: "error" | "warning";
|
|
812
|
+
/**
|
|
813
|
+
* RegExp for matching title in front matter
|
|
814
|
+
*/
|
|
815
|
+
front_matter_title?: string;
|
|
816
|
+
/**
|
|
817
|
+
* Heading level
|
|
818
|
+
*/
|
|
819
|
+
level?: number;
|
|
820
|
+
};
|
|
821
|
+
/**
|
|
822
|
+
* MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md
|
|
823
|
+
*/
|
|
824
|
+
"single-title"?:
|
|
825
|
+
| boolean
|
|
826
|
+
| ("error" | "warning")
|
|
827
|
+
| {
|
|
828
|
+
/**
|
|
829
|
+
* Whether to enable the rule
|
|
830
|
+
*/
|
|
831
|
+
enabled?: boolean;
|
|
832
|
+
/**
|
|
833
|
+
* Rule severity
|
|
834
|
+
*/
|
|
835
|
+
severity?: "error" | "warning";
|
|
836
|
+
/**
|
|
837
|
+
* RegExp for matching title in front matter
|
|
838
|
+
*/
|
|
839
|
+
front_matter_title?: string;
|
|
840
|
+
/**
|
|
841
|
+
* Heading level
|
|
842
|
+
*/
|
|
843
|
+
level?: number;
|
|
844
|
+
};
|
|
845
|
+
/**
|
|
846
|
+
* MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md025.md
|
|
847
|
+
*/
|
|
848
|
+
"single-h1"?:
|
|
849
|
+
| boolean
|
|
850
|
+
| ("error" | "warning")
|
|
851
|
+
| {
|
|
852
|
+
/**
|
|
853
|
+
* Whether to enable the rule
|
|
854
|
+
*/
|
|
855
|
+
enabled?: boolean;
|
|
856
|
+
/**
|
|
857
|
+
* Rule severity
|
|
858
|
+
*/
|
|
859
|
+
severity?: "error" | "warning";
|
|
860
|
+
/**
|
|
861
|
+
* RegExp for matching title in front matter
|
|
862
|
+
*/
|
|
863
|
+
front_matter_title?: string;
|
|
864
|
+
/**
|
|
865
|
+
* Heading level
|
|
866
|
+
*/
|
|
867
|
+
level?: number;
|
|
868
|
+
};
|
|
869
|
+
/**
|
|
870
|
+
* MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md026.md
|
|
871
|
+
*/
|
|
872
|
+
MD026?:
|
|
873
|
+
| boolean
|
|
874
|
+
| ("error" | "warning")
|
|
875
|
+
| {
|
|
876
|
+
/**
|
|
877
|
+
* Whether to enable the rule
|
|
878
|
+
*/
|
|
879
|
+
enabled?: boolean;
|
|
880
|
+
/**
|
|
881
|
+
* Rule severity
|
|
882
|
+
*/
|
|
883
|
+
severity?: "error" | "warning";
|
|
884
|
+
/**
|
|
885
|
+
* Punctuation characters
|
|
886
|
+
*/
|
|
887
|
+
punctuation?: string;
|
|
888
|
+
};
|
|
889
|
+
/**
|
|
890
|
+
* MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md026.md
|
|
891
|
+
*/
|
|
892
|
+
"no-trailing-punctuation"?:
|
|
893
|
+
| boolean
|
|
894
|
+
| ("error" | "warning")
|
|
895
|
+
| {
|
|
896
|
+
/**
|
|
897
|
+
* Whether to enable the rule
|
|
898
|
+
*/
|
|
899
|
+
enabled?: boolean;
|
|
900
|
+
/**
|
|
901
|
+
* Rule severity
|
|
902
|
+
*/
|
|
903
|
+
severity?: "error" | "warning";
|
|
904
|
+
/**
|
|
905
|
+
* Punctuation characters
|
|
906
|
+
*/
|
|
907
|
+
punctuation?: string;
|
|
908
|
+
};
|
|
909
|
+
/**
|
|
910
|
+
* MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md027.md
|
|
911
|
+
*/
|
|
912
|
+
MD027?:
|
|
913
|
+
| boolean
|
|
914
|
+
| ("error" | "warning")
|
|
915
|
+
| {
|
|
916
|
+
/**
|
|
917
|
+
* Whether to enable the rule
|
|
918
|
+
*/
|
|
919
|
+
enabled?: boolean;
|
|
920
|
+
/**
|
|
921
|
+
* Rule severity
|
|
922
|
+
*/
|
|
923
|
+
severity?: "error" | "warning";
|
|
924
|
+
/**
|
|
925
|
+
* Include list items
|
|
926
|
+
*/
|
|
927
|
+
list_items?: boolean;
|
|
928
|
+
};
|
|
929
|
+
/**
|
|
930
|
+
* MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md027.md
|
|
931
|
+
*/
|
|
932
|
+
"no-multiple-space-blockquote"?:
|
|
933
|
+
| boolean
|
|
934
|
+
| ("error" | "warning")
|
|
935
|
+
| {
|
|
936
|
+
/**
|
|
937
|
+
* Whether to enable the rule
|
|
938
|
+
*/
|
|
939
|
+
enabled?: boolean;
|
|
940
|
+
/**
|
|
941
|
+
* Rule severity
|
|
942
|
+
*/
|
|
943
|
+
severity?: "error" | "warning";
|
|
944
|
+
/**
|
|
945
|
+
* Include list items
|
|
946
|
+
*/
|
|
947
|
+
list_items?: boolean;
|
|
948
|
+
};
|
|
949
|
+
/**
|
|
950
|
+
* MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md028.md
|
|
951
|
+
*/
|
|
952
|
+
MD028?:
|
|
953
|
+
| boolean
|
|
954
|
+
| ("error" | "warning")
|
|
955
|
+
| {
|
|
956
|
+
/**
|
|
957
|
+
* Whether to enable the rule
|
|
958
|
+
*/
|
|
959
|
+
enabled?: boolean;
|
|
960
|
+
/**
|
|
961
|
+
* Rule severity
|
|
962
|
+
*/
|
|
963
|
+
severity?: "error" | "warning";
|
|
964
|
+
};
|
|
965
|
+
/**
|
|
966
|
+
* MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md028.md
|
|
967
|
+
*/
|
|
968
|
+
"no-blanks-blockquote"?:
|
|
969
|
+
| boolean
|
|
970
|
+
| ("error" | "warning")
|
|
971
|
+
| {
|
|
972
|
+
/**
|
|
973
|
+
* Whether to enable the rule
|
|
974
|
+
*/
|
|
975
|
+
enabled?: boolean;
|
|
976
|
+
/**
|
|
977
|
+
* Rule severity
|
|
978
|
+
*/
|
|
979
|
+
severity?: "error" | "warning";
|
|
980
|
+
};
|
|
981
|
+
/**
|
|
982
|
+
* MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md029.md
|
|
983
|
+
*/
|
|
984
|
+
MD029?:
|
|
985
|
+
| boolean
|
|
986
|
+
| ("error" | "warning")
|
|
987
|
+
| {
|
|
988
|
+
/**
|
|
989
|
+
* Whether to enable the rule
|
|
990
|
+
*/
|
|
991
|
+
enabled?: boolean;
|
|
992
|
+
/**
|
|
993
|
+
* Rule severity
|
|
994
|
+
*/
|
|
995
|
+
severity?: "error" | "warning";
|
|
996
|
+
/**
|
|
997
|
+
* List style
|
|
998
|
+
*/
|
|
999
|
+
style?: "one" | "ordered" | "one_or_ordered" | "zero";
|
|
1000
|
+
};
|
|
1001
|
+
/**
|
|
1002
|
+
* MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md029.md
|
|
1003
|
+
*/
|
|
1004
|
+
"ol-prefix"?:
|
|
1005
|
+
| boolean
|
|
1006
|
+
| ("error" | "warning")
|
|
1007
|
+
| {
|
|
1008
|
+
/**
|
|
1009
|
+
* Whether to enable the rule
|
|
1010
|
+
*/
|
|
1011
|
+
enabled?: boolean;
|
|
1012
|
+
/**
|
|
1013
|
+
* Rule severity
|
|
1014
|
+
*/
|
|
1015
|
+
severity?: "error" | "warning";
|
|
1016
|
+
/**
|
|
1017
|
+
* List style
|
|
1018
|
+
*/
|
|
1019
|
+
style?: "one" | "ordered" | "one_or_ordered" | "zero";
|
|
1020
|
+
};
|
|
1021
|
+
/**
|
|
1022
|
+
* MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md030.md
|
|
1023
|
+
*/
|
|
1024
|
+
MD030?:
|
|
1025
|
+
| boolean
|
|
1026
|
+
| ("error" | "warning")
|
|
1027
|
+
| {
|
|
1028
|
+
/**
|
|
1029
|
+
* Whether to enable the rule
|
|
1030
|
+
*/
|
|
1031
|
+
enabled?: boolean;
|
|
1032
|
+
/**
|
|
1033
|
+
* Rule severity
|
|
1034
|
+
*/
|
|
1035
|
+
severity?: "error" | "warning";
|
|
1036
|
+
/**
|
|
1037
|
+
* Spaces for single-line unordered list items
|
|
1038
|
+
*/
|
|
1039
|
+
ul_single?: number;
|
|
1040
|
+
/**
|
|
1041
|
+
* Spaces for single-line ordered list items
|
|
1042
|
+
*/
|
|
1043
|
+
ol_single?: number;
|
|
1044
|
+
/**
|
|
1045
|
+
* Spaces for multi-line unordered list items
|
|
1046
|
+
*/
|
|
1047
|
+
ul_multi?: number;
|
|
1048
|
+
/**
|
|
1049
|
+
* Spaces for multi-line ordered list items
|
|
1050
|
+
*/
|
|
1051
|
+
ol_multi?: number;
|
|
1052
|
+
};
|
|
1053
|
+
/**
|
|
1054
|
+
* MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md030.md
|
|
1055
|
+
*/
|
|
1056
|
+
"list-marker-space"?:
|
|
1057
|
+
| boolean
|
|
1058
|
+
| ("error" | "warning")
|
|
1059
|
+
| {
|
|
1060
|
+
/**
|
|
1061
|
+
* Whether to enable the rule
|
|
1062
|
+
*/
|
|
1063
|
+
enabled?: boolean;
|
|
1064
|
+
/**
|
|
1065
|
+
* Rule severity
|
|
1066
|
+
*/
|
|
1067
|
+
severity?: "error" | "warning";
|
|
1068
|
+
/**
|
|
1069
|
+
* Spaces for single-line unordered list items
|
|
1070
|
+
*/
|
|
1071
|
+
ul_single?: number;
|
|
1072
|
+
/**
|
|
1073
|
+
* Spaces for single-line ordered list items
|
|
1074
|
+
*/
|
|
1075
|
+
ol_single?: number;
|
|
1076
|
+
/**
|
|
1077
|
+
* Spaces for multi-line unordered list items
|
|
1078
|
+
*/
|
|
1079
|
+
ul_multi?: number;
|
|
1080
|
+
/**
|
|
1081
|
+
* Spaces for multi-line ordered list items
|
|
1082
|
+
*/
|
|
1083
|
+
ol_multi?: number;
|
|
1084
|
+
};
|
|
1085
|
+
/**
|
|
1086
|
+
* MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md031.md
|
|
1087
|
+
*/
|
|
1088
|
+
MD031?:
|
|
1089
|
+
| boolean
|
|
1090
|
+
| ("error" | "warning")
|
|
1091
|
+
| {
|
|
1092
|
+
/**
|
|
1093
|
+
* Whether to enable the rule
|
|
1094
|
+
*/
|
|
1095
|
+
enabled?: boolean;
|
|
1096
|
+
/**
|
|
1097
|
+
* Rule severity
|
|
1098
|
+
*/
|
|
1099
|
+
severity?: "error" | "warning";
|
|
1100
|
+
/**
|
|
1101
|
+
* Include list items
|
|
1102
|
+
*/
|
|
1103
|
+
list_items?: boolean;
|
|
1104
|
+
};
|
|
1105
|
+
/**
|
|
1106
|
+
* MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md031.md
|
|
1107
|
+
*/
|
|
1108
|
+
"blanks-around-fences"?:
|
|
1109
|
+
| boolean
|
|
1110
|
+
| ("error" | "warning")
|
|
1111
|
+
| {
|
|
1112
|
+
/**
|
|
1113
|
+
* Whether to enable the rule
|
|
1114
|
+
*/
|
|
1115
|
+
enabled?: boolean;
|
|
1116
|
+
/**
|
|
1117
|
+
* Rule severity
|
|
1118
|
+
*/
|
|
1119
|
+
severity?: "error" | "warning";
|
|
1120
|
+
/**
|
|
1121
|
+
* Include list items
|
|
1122
|
+
*/
|
|
1123
|
+
list_items?: boolean;
|
|
1124
|
+
};
|
|
1125
|
+
/**
|
|
1126
|
+
* MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md032.md
|
|
1127
|
+
*/
|
|
1128
|
+
MD032?:
|
|
1129
|
+
| boolean
|
|
1130
|
+
| ("error" | "warning")
|
|
1131
|
+
| {
|
|
1132
|
+
/**
|
|
1133
|
+
* Whether to enable the rule
|
|
1134
|
+
*/
|
|
1135
|
+
enabled?: boolean;
|
|
1136
|
+
/**
|
|
1137
|
+
* Rule severity
|
|
1138
|
+
*/
|
|
1139
|
+
severity?: "error" | "warning";
|
|
1140
|
+
};
|
|
1141
|
+
/**
|
|
1142
|
+
* MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md032.md
|
|
1143
|
+
*/
|
|
1144
|
+
"blanks-around-lists"?:
|
|
1145
|
+
| boolean
|
|
1146
|
+
| ("error" | "warning")
|
|
1147
|
+
| {
|
|
1148
|
+
/**
|
|
1149
|
+
* Whether to enable the rule
|
|
1150
|
+
*/
|
|
1151
|
+
enabled?: boolean;
|
|
1152
|
+
/**
|
|
1153
|
+
* Rule severity
|
|
1154
|
+
*/
|
|
1155
|
+
severity?: "error" | "warning";
|
|
1156
|
+
};
|
|
1157
|
+
/**
|
|
1158
|
+
* MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md033.md
|
|
1159
|
+
*/
|
|
1160
|
+
MD033?:
|
|
1161
|
+
| boolean
|
|
1162
|
+
| ("error" | "warning")
|
|
1163
|
+
| {
|
|
1164
|
+
/**
|
|
1165
|
+
* Whether to enable the rule
|
|
1166
|
+
*/
|
|
1167
|
+
enabled?: boolean;
|
|
1168
|
+
/**
|
|
1169
|
+
* Rule severity
|
|
1170
|
+
*/
|
|
1171
|
+
severity?: "error" | "warning";
|
|
1172
|
+
/**
|
|
1173
|
+
* Allowed elements
|
|
1174
|
+
*/
|
|
1175
|
+
allowed_elements?: string[];
|
|
1176
|
+
/**
|
|
1177
|
+
* Allowed elements in tables
|
|
1178
|
+
*/
|
|
1179
|
+
table_allowed_elements?: string[];
|
|
1180
|
+
};
|
|
1181
|
+
/**
|
|
1182
|
+
* MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md033.md
|
|
1183
|
+
*/
|
|
1184
|
+
"no-inline-html"?:
|
|
1185
|
+
| boolean
|
|
1186
|
+
| ("error" | "warning")
|
|
1187
|
+
| {
|
|
1188
|
+
/**
|
|
1189
|
+
* Whether to enable the rule
|
|
1190
|
+
*/
|
|
1191
|
+
enabled?: boolean;
|
|
1192
|
+
/**
|
|
1193
|
+
* Rule severity
|
|
1194
|
+
*/
|
|
1195
|
+
severity?: "error" | "warning";
|
|
601
1196
|
/**
|
|
602
1197
|
* Allowed elements
|
|
603
1198
|
*/
|
|
604
1199
|
allowed_elements?: string[];
|
|
1200
|
+
/**
|
|
1201
|
+
* Allowed elements in tables
|
|
1202
|
+
*/
|
|
1203
|
+
table_allowed_elements?: string[];
|
|
605
1204
|
};
|
|
606
1205
|
/**
|
|
607
|
-
* MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1206
|
+
* MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md034.md
|
|
608
1207
|
*/
|
|
609
|
-
MD034?:
|
|
1208
|
+
MD034?:
|
|
1209
|
+
| boolean
|
|
1210
|
+
| ("error" | "warning")
|
|
1211
|
+
| {
|
|
1212
|
+
/**
|
|
1213
|
+
* Whether to enable the rule
|
|
1214
|
+
*/
|
|
1215
|
+
enabled?: boolean;
|
|
1216
|
+
/**
|
|
1217
|
+
* Rule severity
|
|
1218
|
+
*/
|
|
1219
|
+
severity?: "error" | "warning";
|
|
1220
|
+
};
|
|
610
1221
|
/**
|
|
611
|
-
* MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1222
|
+
* MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md034.md
|
|
612
1223
|
*/
|
|
613
|
-
"no-bare-urls"?:
|
|
1224
|
+
"no-bare-urls"?:
|
|
1225
|
+
| boolean
|
|
1226
|
+
| ("error" | "warning")
|
|
1227
|
+
| {
|
|
1228
|
+
/**
|
|
1229
|
+
* Whether to enable the rule
|
|
1230
|
+
*/
|
|
1231
|
+
enabled?: boolean;
|
|
1232
|
+
/**
|
|
1233
|
+
* Rule severity
|
|
1234
|
+
*/
|
|
1235
|
+
severity?: "error" | "warning";
|
|
1236
|
+
};
|
|
614
1237
|
/**
|
|
615
|
-
* MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1238
|
+
* MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md035.md
|
|
616
1239
|
*/
|
|
617
1240
|
MD035?:
|
|
618
1241
|
| boolean
|
|
1242
|
+
| ("error" | "warning")
|
|
619
1243
|
| {
|
|
1244
|
+
/**
|
|
1245
|
+
* Whether to enable the rule
|
|
1246
|
+
*/
|
|
1247
|
+
enabled?: boolean;
|
|
1248
|
+
/**
|
|
1249
|
+
* Rule severity
|
|
1250
|
+
*/
|
|
1251
|
+
severity?: "error" | "warning";
|
|
620
1252
|
/**
|
|
621
1253
|
* Horizontal rule style
|
|
622
1254
|
*/
|
|
623
1255
|
style?: string;
|
|
624
1256
|
};
|
|
625
1257
|
/**
|
|
626
|
-
* MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1258
|
+
* MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md035.md
|
|
627
1259
|
*/
|
|
628
1260
|
"hr-style"?:
|
|
629
1261
|
| boolean
|
|
1262
|
+
| ("error" | "warning")
|
|
630
1263
|
| {
|
|
1264
|
+
/**
|
|
1265
|
+
* Whether to enable the rule
|
|
1266
|
+
*/
|
|
1267
|
+
enabled?: boolean;
|
|
1268
|
+
/**
|
|
1269
|
+
* Rule severity
|
|
1270
|
+
*/
|
|
1271
|
+
severity?: "error" | "warning";
|
|
631
1272
|
/**
|
|
632
1273
|
* Horizontal rule style
|
|
633
1274
|
*/
|
|
634
1275
|
style?: string;
|
|
635
1276
|
};
|
|
636
1277
|
/**
|
|
637
|
-
* MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1278
|
+
* MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md036.md
|
|
638
1279
|
*/
|
|
639
1280
|
MD036?:
|
|
640
1281
|
| boolean
|
|
1282
|
+
| ("error" | "warning")
|
|
641
1283
|
| {
|
|
1284
|
+
/**
|
|
1285
|
+
* Whether to enable the rule
|
|
1286
|
+
*/
|
|
1287
|
+
enabled?: boolean;
|
|
1288
|
+
/**
|
|
1289
|
+
* Rule severity
|
|
1290
|
+
*/
|
|
1291
|
+
severity?: "error" | "warning";
|
|
642
1292
|
/**
|
|
643
1293
|
* Punctuation characters
|
|
644
1294
|
*/
|
|
645
1295
|
punctuation?: string;
|
|
646
1296
|
};
|
|
647
1297
|
/**
|
|
648
|
-
* MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1298
|
+
* MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md036.md
|
|
649
1299
|
*/
|
|
650
1300
|
"no-emphasis-as-heading"?:
|
|
651
1301
|
| boolean
|
|
1302
|
+
| ("error" | "warning")
|
|
652
1303
|
| {
|
|
1304
|
+
/**
|
|
1305
|
+
* Whether to enable the rule
|
|
1306
|
+
*/
|
|
1307
|
+
enabled?: boolean;
|
|
1308
|
+
/**
|
|
1309
|
+
* Rule severity
|
|
1310
|
+
*/
|
|
1311
|
+
severity?: "error" | "warning";
|
|
653
1312
|
/**
|
|
654
1313
|
* Punctuation characters
|
|
655
1314
|
*/
|
|
656
1315
|
punctuation?: string;
|
|
657
1316
|
};
|
|
658
1317
|
/**
|
|
659
|
-
* MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1318
|
+
* MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md037.md
|
|
660
1319
|
*/
|
|
661
|
-
MD037?:
|
|
1320
|
+
MD037?:
|
|
1321
|
+
| boolean
|
|
1322
|
+
| ("error" | "warning")
|
|
1323
|
+
| {
|
|
1324
|
+
/**
|
|
1325
|
+
* Whether to enable the rule
|
|
1326
|
+
*/
|
|
1327
|
+
enabled?: boolean;
|
|
1328
|
+
/**
|
|
1329
|
+
* Rule severity
|
|
1330
|
+
*/
|
|
1331
|
+
severity?: "error" | "warning";
|
|
1332
|
+
};
|
|
662
1333
|
/**
|
|
663
|
-
* MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1334
|
+
* MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md037.md
|
|
664
1335
|
*/
|
|
665
|
-
"no-space-in-emphasis"?:
|
|
1336
|
+
"no-space-in-emphasis"?:
|
|
1337
|
+
| boolean
|
|
1338
|
+
| ("error" | "warning")
|
|
1339
|
+
| {
|
|
1340
|
+
/**
|
|
1341
|
+
* Whether to enable the rule
|
|
1342
|
+
*/
|
|
1343
|
+
enabled?: boolean;
|
|
1344
|
+
/**
|
|
1345
|
+
* Rule severity
|
|
1346
|
+
*/
|
|
1347
|
+
severity?: "error" | "warning";
|
|
1348
|
+
};
|
|
666
1349
|
/**
|
|
667
|
-
* MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1350
|
+
* MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md038.md
|
|
668
1351
|
*/
|
|
669
|
-
MD038?:
|
|
1352
|
+
MD038?:
|
|
1353
|
+
| boolean
|
|
1354
|
+
| ("error" | "warning")
|
|
1355
|
+
| {
|
|
1356
|
+
/**
|
|
1357
|
+
* Whether to enable the rule
|
|
1358
|
+
*/
|
|
1359
|
+
enabled?: boolean;
|
|
1360
|
+
/**
|
|
1361
|
+
* Rule severity
|
|
1362
|
+
*/
|
|
1363
|
+
severity?: "error" | "warning";
|
|
1364
|
+
};
|
|
670
1365
|
/**
|
|
671
|
-
* MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1366
|
+
* MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md038.md
|
|
672
1367
|
*/
|
|
673
|
-
"no-space-in-code"?:
|
|
1368
|
+
"no-space-in-code"?:
|
|
1369
|
+
| boolean
|
|
1370
|
+
| ("error" | "warning")
|
|
1371
|
+
| {
|
|
1372
|
+
/**
|
|
1373
|
+
* Whether to enable the rule
|
|
1374
|
+
*/
|
|
1375
|
+
enabled?: boolean;
|
|
1376
|
+
/**
|
|
1377
|
+
* Rule severity
|
|
1378
|
+
*/
|
|
1379
|
+
severity?: "error" | "warning";
|
|
1380
|
+
};
|
|
674
1381
|
/**
|
|
675
|
-
* MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1382
|
+
* MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md039.md
|
|
676
1383
|
*/
|
|
677
|
-
MD039?:
|
|
1384
|
+
MD039?:
|
|
1385
|
+
| boolean
|
|
1386
|
+
| ("error" | "warning")
|
|
1387
|
+
| {
|
|
1388
|
+
/**
|
|
1389
|
+
* Whether to enable the rule
|
|
1390
|
+
*/
|
|
1391
|
+
enabled?: boolean;
|
|
1392
|
+
/**
|
|
1393
|
+
* Rule severity
|
|
1394
|
+
*/
|
|
1395
|
+
severity?: "error" | "warning";
|
|
1396
|
+
};
|
|
678
1397
|
/**
|
|
679
|
-
* MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1398
|
+
* MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md039.md
|
|
680
1399
|
*/
|
|
681
|
-
"no-space-in-links"?:
|
|
1400
|
+
"no-space-in-links"?:
|
|
1401
|
+
| boolean
|
|
1402
|
+
| ("error" | "warning")
|
|
1403
|
+
| {
|
|
1404
|
+
/**
|
|
1405
|
+
* Whether to enable the rule
|
|
1406
|
+
*/
|
|
1407
|
+
enabled?: boolean;
|
|
1408
|
+
/**
|
|
1409
|
+
* Rule severity
|
|
1410
|
+
*/
|
|
1411
|
+
severity?: "error" | "warning";
|
|
1412
|
+
};
|
|
682
1413
|
/**
|
|
683
|
-
* MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1414
|
+
* MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md040.md
|
|
684
1415
|
*/
|
|
685
1416
|
MD040?:
|
|
686
1417
|
| boolean
|
|
1418
|
+
| ("error" | "warning")
|
|
687
1419
|
| {
|
|
1420
|
+
/**
|
|
1421
|
+
* Whether to enable the rule
|
|
1422
|
+
*/
|
|
1423
|
+
enabled?: boolean;
|
|
1424
|
+
/**
|
|
1425
|
+
* Rule severity
|
|
1426
|
+
*/
|
|
1427
|
+
severity?: "error" | "warning";
|
|
688
1428
|
/**
|
|
689
1429
|
* List of languages
|
|
690
1430
|
*/
|
|
@@ -695,11 +1435,20 @@ export interface ConfigurationStrict {
|
|
|
695
1435
|
language_only?: boolean;
|
|
696
1436
|
};
|
|
697
1437
|
/**
|
|
698
|
-
* MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1438
|
+
* MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md040.md
|
|
699
1439
|
*/
|
|
700
1440
|
"fenced-code-language"?:
|
|
701
1441
|
| boolean
|
|
1442
|
+
| ("error" | "warning")
|
|
702
1443
|
| {
|
|
1444
|
+
/**
|
|
1445
|
+
* Whether to enable the rule
|
|
1446
|
+
*/
|
|
1447
|
+
enabled?: boolean;
|
|
1448
|
+
/**
|
|
1449
|
+
* Rule severity
|
|
1450
|
+
*/
|
|
1451
|
+
severity?: "error" | "warning";
|
|
703
1452
|
/**
|
|
704
1453
|
* List of languages
|
|
705
1454
|
*/
|
|
@@ -710,64 +1459,136 @@ export interface ConfigurationStrict {
|
|
|
710
1459
|
language_only?: boolean;
|
|
711
1460
|
};
|
|
712
1461
|
/**
|
|
713
|
-
* 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.
|
|
1462
|
+
* 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.39.0/doc/md041.md
|
|
714
1463
|
*/
|
|
715
1464
|
MD041?:
|
|
716
1465
|
| boolean
|
|
1466
|
+
| ("error" | "warning")
|
|
717
1467
|
| {
|
|
718
1468
|
/**
|
|
719
|
-
*
|
|
1469
|
+
* Whether to enable the rule
|
|
720
1470
|
*/
|
|
721
|
-
|
|
1471
|
+
enabled?: boolean;
|
|
1472
|
+
/**
|
|
1473
|
+
* Rule severity
|
|
1474
|
+
*/
|
|
1475
|
+
severity?: "error" | "warning";
|
|
1476
|
+
/**
|
|
1477
|
+
* Allow content before first heading
|
|
1478
|
+
*/
|
|
1479
|
+
allow_preamble?: boolean;
|
|
722
1480
|
/**
|
|
723
1481
|
* RegExp for matching title in front matter
|
|
724
1482
|
*/
|
|
725
1483
|
front_matter_title?: string;
|
|
1484
|
+
/**
|
|
1485
|
+
* Heading level
|
|
1486
|
+
*/
|
|
1487
|
+
level?: number;
|
|
726
1488
|
};
|
|
727
1489
|
/**
|
|
728
|
-
* 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.
|
|
1490
|
+
* 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.39.0/doc/md041.md
|
|
729
1491
|
*/
|
|
730
1492
|
"first-line-heading"?:
|
|
731
1493
|
| boolean
|
|
1494
|
+
| ("error" | "warning")
|
|
732
1495
|
| {
|
|
733
1496
|
/**
|
|
734
|
-
*
|
|
1497
|
+
* Whether to enable the rule
|
|
735
1498
|
*/
|
|
736
|
-
|
|
1499
|
+
enabled?: boolean;
|
|
1500
|
+
/**
|
|
1501
|
+
* Rule severity
|
|
1502
|
+
*/
|
|
1503
|
+
severity?: "error" | "warning";
|
|
1504
|
+
/**
|
|
1505
|
+
* Allow content before first heading
|
|
1506
|
+
*/
|
|
1507
|
+
allow_preamble?: boolean;
|
|
737
1508
|
/**
|
|
738
1509
|
* RegExp for matching title in front matter
|
|
739
1510
|
*/
|
|
740
1511
|
front_matter_title?: string;
|
|
1512
|
+
/**
|
|
1513
|
+
* Heading level
|
|
1514
|
+
*/
|
|
1515
|
+
level?: number;
|
|
741
1516
|
};
|
|
742
1517
|
/**
|
|
743
|
-
* 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.
|
|
1518
|
+
* 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.39.0/doc/md041.md
|
|
744
1519
|
*/
|
|
745
1520
|
"first-line-h1"?:
|
|
746
1521
|
| boolean
|
|
1522
|
+
| ("error" | "warning")
|
|
747
1523
|
| {
|
|
748
1524
|
/**
|
|
749
|
-
*
|
|
1525
|
+
* Whether to enable the rule
|
|
750
1526
|
*/
|
|
751
|
-
|
|
1527
|
+
enabled?: boolean;
|
|
1528
|
+
/**
|
|
1529
|
+
* Rule severity
|
|
1530
|
+
*/
|
|
1531
|
+
severity?: "error" | "warning";
|
|
1532
|
+
/**
|
|
1533
|
+
* Allow content before first heading
|
|
1534
|
+
*/
|
|
1535
|
+
allow_preamble?: boolean;
|
|
752
1536
|
/**
|
|
753
1537
|
* RegExp for matching title in front matter
|
|
754
1538
|
*/
|
|
755
1539
|
front_matter_title?: string;
|
|
1540
|
+
/**
|
|
1541
|
+
* Heading level
|
|
1542
|
+
*/
|
|
1543
|
+
level?: number;
|
|
756
1544
|
};
|
|
757
1545
|
/**
|
|
758
|
-
* MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1546
|
+
* MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md042.md
|
|
759
1547
|
*/
|
|
760
|
-
MD042?:
|
|
1548
|
+
MD042?:
|
|
1549
|
+
| boolean
|
|
1550
|
+
| ("error" | "warning")
|
|
1551
|
+
| {
|
|
1552
|
+
/**
|
|
1553
|
+
* Whether to enable the rule
|
|
1554
|
+
*/
|
|
1555
|
+
enabled?: boolean;
|
|
1556
|
+
/**
|
|
1557
|
+
* Rule severity
|
|
1558
|
+
*/
|
|
1559
|
+
severity?: "error" | "warning";
|
|
1560
|
+
};
|
|
761
1561
|
/**
|
|
762
|
-
* MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1562
|
+
* MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md042.md
|
|
763
1563
|
*/
|
|
764
|
-
"no-empty-links"?:
|
|
1564
|
+
"no-empty-links"?:
|
|
1565
|
+
| boolean
|
|
1566
|
+
| ("error" | "warning")
|
|
1567
|
+
| {
|
|
1568
|
+
/**
|
|
1569
|
+
* Whether to enable the rule
|
|
1570
|
+
*/
|
|
1571
|
+
enabled?: boolean;
|
|
1572
|
+
/**
|
|
1573
|
+
* Rule severity
|
|
1574
|
+
*/
|
|
1575
|
+
severity?: "error" | "warning";
|
|
1576
|
+
};
|
|
765
1577
|
/**
|
|
766
|
-
* MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1578
|
+
* MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md043.md
|
|
767
1579
|
*/
|
|
768
1580
|
MD043?:
|
|
769
1581
|
| boolean
|
|
1582
|
+
| ("error" | "warning")
|
|
770
1583
|
| {
|
|
1584
|
+
/**
|
|
1585
|
+
* Whether to enable the rule
|
|
1586
|
+
*/
|
|
1587
|
+
enabled?: boolean;
|
|
1588
|
+
/**
|
|
1589
|
+
* Rule severity
|
|
1590
|
+
*/
|
|
1591
|
+
severity?: "error" | "warning";
|
|
771
1592
|
/**
|
|
772
1593
|
* List of headings
|
|
773
1594
|
*/
|
|
@@ -778,11 +1599,20 @@ export interface ConfigurationStrict {
|
|
|
778
1599
|
match_case?: boolean;
|
|
779
1600
|
};
|
|
780
1601
|
/**
|
|
781
|
-
* MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1602
|
+
* MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md043.md
|
|
782
1603
|
*/
|
|
783
1604
|
"required-headings"?:
|
|
784
1605
|
| boolean
|
|
1606
|
+
| ("error" | "warning")
|
|
785
1607
|
| {
|
|
1608
|
+
/**
|
|
1609
|
+
* Whether to enable the rule
|
|
1610
|
+
*/
|
|
1611
|
+
enabled?: boolean;
|
|
1612
|
+
/**
|
|
1613
|
+
* Rule severity
|
|
1614
|
+
*/
|
|
1615
|
+
severity?: "error" | "warning";
|
|
786
1616
|
/**
|
|
787
1617
|
* List of headings
|
|
788
1618
|
*/
|
|
@@ -793,11 +1623,20 @@ export interface ConfigurationStrict {
|
|
|
793
1623
|
match_case?: boolean;
|
|
794
1624
|
};
|
|
795
1625
|
/**
|
|
796
|
-
* MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1626
|
+
* MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md044.md
|
|
797
1627
|
*/
|
|
798
1628
|
MD044?:
|
|
799
1629
|
| boolean
|
|
1630
|
+
| ("error" | "warning")
|
|
800
1631
|
| {
|
|
1632
|
+
/**
|
|
1633
|
+
* Whether to enable the rule
|
|
1634
|
+
*/
|
|
1635
|
+
enabled?: boolean;
|
|
1636
|
+
/**
|
|
1637
|
+
* Rule severity
|
|
1638
|
+
*/
|
|
1639
|
+
severity?: "error" | "warning";
|
|
801
1640
|
/**
|
|
802
1641
|
* List of proper names
|
|
803
1642
|
*/
|
|
@@ -812,11 +1651,20 @@ export interface ConfigurationStrict {
|
|
|
812
1651
|
html_elements?: boolean;
|
|
813
1652
|
};
|
|
814
1653
|
/**
|
|
815
|
-
* MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1654
|
+
* MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md044.md
|
|
816
1655
|
*/
|
|
817
1656
|
"proper-names"?:
|
|
818
1657
|
| boolean
|
|
1658
|
+
| ("error" | "warning")
|
|
819
1659
|
| {
|
|
1660
|
+
/**
|
|
1661
|
+
* Whether to enable the rule
|
|
1662
|
+
*/
|
|
1663
|
+
enabled?: boolean;
|
|
1664
|
+
/**
|
|
1665
|
+
* Rule severity
|
|
1666
|
+
*/
|
|
1667
|
+
severity?: "error" | "warning";
|
|
820
1668
|
/**
|
|
821
1669
|
* List of proper names
|
|
822
1670
|
*/
|
|
@@ -831,181 +1679,380 @@ export interface ConfigurationStrict {
|
|
|
831
1679
|
html_elements?: boolean;
|
|
832
1680
|
};
|
|
833
1681
|
/**
|
|
834
|
-
* MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1682
|
+
* MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md045.md
|
|
835
1683
|
*/
|
|
836
|
-
MD045?:
|
|
1684
|
+
MD045?:
|
|
1685
|
+
| boolean
|
|
1686
|
+
| ("error" | "warning")
|
|
1687
|
+
| {
|
|
1688
|
+
/**
|
|
1689
|
+
* Whether to enable the rule
|
|
1690
|
+
*/
|
|
1691
|
+
enabled?: boolean;
|
|
1692
|
+
/**
|
|
1693
|
+
* Rule severity
|
|
1694
|
+
*/
|
|
1695
|
+
severity?: "error" | "warning";
|
|
1696
|
+
};
|
|
837
1697
|
/**
|
|
838
|
-
* MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1698
|
+
* MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md045.md
|
|
839
1699
|
*/
|
|
840
|
-
"no-alt-text"?:
|
|
1700
|
+
"no-alt-text"?:
|
|
1701
|
+
| boolean
|
|
1702
|
+
| ("error" | "warning")
|
|
1703
|
+
| {
|
|
1704
|
+
/**
|
|
1705
|
+
* Whether to enable the rule
|
|
1706
|
+
*/
|
|
1707
|
+
enabled?: boolean;
|
|
1708
|
+
/**
|
|
1709
|
+
* Rule severity
|
|
1710
|
+
*/
|
|
1711
|
+
severity?: "error" | "warning";
|
|
1712
|
+
};
|
|
841
1713
|
/**
|
|
842
|
-
* MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1714
|
+
* MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md046.md
|
|
843
1715
|
*/
|
|
844
1716
|
MD046?:
|
|
845
1717
|
| boolean
|
|
1718
|
+
| ("error" | "warning")
|
|
846
1719
|
| {
|
|
1720
|
+
/**
|
|
1721
|
+
* Whether to enable the rule
|
|
1722
|
+
*/
|
|
1723
|
+
enabled?: boolean;
|
|
1724
|
+
/**
|
|
1725
|
+
* Rule severity
|
|
1726
|
+
*/
|
|
1727
|
+
severity?: "error" | "warning";
|
|
847
1728
|
/**
|
|
848
1729
|
* Block style
|
|
849
1730
|
*/
|
|
850
1731
|
style?: "consistent" | "fenced" | "indented";
|
|
851
1732
|
};
|
|
852
1733
|
/**
|
|
853
|
-
* MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1734
|
+
* MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md046.md
|
|
854
1735
|
*/
|
|
855
1736
|
"code-block-style"?:
|
|
856
1737
|
| boolean
|
|
1738
|
+
| ("error" | "warning")
|
|
857
1739
|
| {
|
|
1740
|
+
/**
|
|
1741
|
+
* Whether to enable the rule
|
|
1742
|
+
*/
|
|
1743
|
+
enabled?: boolean;
|
|
1744
|
+
/**
|
|
1745
|
+
* Rule severity
|
|
1746
|
+
*/
|
|
1747
|
+
severity?: "error" | "warning";
|
|
858
1748
|
/**
|
|
859
1749
|
* Block style
|
|
860
1750
|
*/
|
|
861
1751
|
style?: "consistent" | "fenced" | "indented";
|
|
862
1752
|
};
|
|
863
1753
|
/**
|
|
864
|
-
* MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1754
|
+
* MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md047.md
|
|
865
1755
|
*/
|
|
866
|
-
MD047?:
|
|
1756
|
+
MD047?:
|
|
1757
|
+
| boolean
|
|
1758
|
+
| ("error" | "warning")
|
|
1759
|
+
| {
|
|
1760
|
+
/**
|
|
1761
|
+
* Whether to enable the rule
|
|
1762
|
+
*/
|
|
1763
|
+
enabled?: boolean;
|
|
1764
|
+
/**
|
|
1765
|
+
* Rule severity
|
|
1766
|
+
*/
|
|
1767
|
+
severity?: "error" | "warning";
|
|
1768
|
+
};
|
|
867
1769
|
/**
|
|
868
|
-
* MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1770
|
+
* MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md047.md
|
|
869
1771
|
*/
|
|
870
|
-
"single-trailing-newline"?:
|
|
1772
|
+
"single-trailing-newline"?:
|
|
1773
|
+
| boolean
|
|
1774
|
+
| ("error" | "warning")
|
|
1775
|
+
| {
|
|
1776
|
+
/**
|
|
1777
|
+
* Whether to enable the rule
|
|
1778
|
+
*/
|
|
1779
|
+
enabled?: boolean;
|
|
1780
|
+
/**
|
|
1781
|
+
* Rule severity
|
|
1782
|
+
*/
|
|
1783
|
+
severity?: "error" | "warning";
|
|
1784
|
+
};
|
|
871
1785
|
/**
|
|
872
|
-
* MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1786
|
+
* MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md048.md
|
|
873
1787
|
*/
|
|
874
1788
|
MD048?:
|
|
875
1789
|
| boolean
|
|
1790
|
+
| ("error" | "warning")
|
|
876
1791
|
| {
|
|
1792
|
+
/**
|
|
1793
|
+
* Whether to enable the rule
|
|
1794
|
+
*/
|
|
1795
|
+
enabled?: boolean;
|
|
1796
|
+
/**
|
|
1797
|
+
* Rule severity
|
|
1798
|
+
*/
|
|
1799
|
+
severity?: "error" | "warning";
|
|
877
1800
|
/**
|
|
878
1801
|
* Code fence style
|
|
879
1802
|
*/
|
|
880
1803
|
style?: "consistent" | "backtick" | "tilde";
|
|
881
1804
|
};
|
|
882
1805
|
/**
|
|
883
|
-
* MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1806
|
+
* MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md048.md
|
|
884
1807
|
*/
|
|
885
1808
|
"code-fence-style"?:
|
|
886
1809
|
| boolean
|
|
1810
|
+
| ("error" | "warning")
|
|
887
1811
|
| {
|
|
1812
|
+
/**
|
|
1813
|
+
* Whether to enable the rule
|
|
1814
|
+
*/
|
|
1815
|
+
enabled?: boolean;
|
|
1816
|
+
/**
|
|
1817
|
+
* Rule severity
|
|
1818
|
+
*/
|
|
1819
|
+
severity?: "error" | "warning";
|
|
888
1820
|
/**
|
|
889
1821
|
* Code fence style
|
|
890
1822
|
*/
|
|
891
1823
|
style?: "consistent" | "backtick" | "tilde";
|
|
892
1824
|
};
|
|
893
1825
|
/**
|
|
894
|
-
* MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1826
|
+
* MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md049.md
|
|
895
1827
|
*/
|
|
896
1828
|
MD049?:
|
|
897
1829
|
| boolean
|
|
1830
|
+
| ("error" | "warning")
|
|
898
1831
|
| {
|
|
1832
|
+
/**
|
|
1833
|
+
* Whether to enable the rule
|
|
1834
|
+
*/
|
|
1835
|
+
enabled?: boolean;
|
|
1836
|
+
/**
|
|
1837
|
+
* Rule severity
|
|
1838
|
+
*/
|
|
1839
|
+
severity?: "error" | "warning";
|
|
899
1840
|
/**
|
|
900
1841
|
* Emphasis style
|
|
901
1842
|
*/
|
|
902
1843
|
style?: "consistent" | "asterisk" | "underscore";
|
|
903
1844
|
};
|
|
904
1845
|
/**
|
|
905
|
-
* MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1846
|
+
* MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md049.md
|
|
906
1847
|
*/
|
|
907
1848
|
"emphasis-style"?:
|
|
908
1849
|
| boolean
|
|
1850
|
+
| ("error" | "warning")
|
|
909
1851
|
| {
|
|
1852
|
+
/**
|
|
1853
|
+
* Whether to enable the rule
|
|
1854
|
+
*/
|
|
1855
|
+
enabled?: boolean;
|
|
1856
|
+
/**
|
|
1857
|
+
* Rule severity
|
|
1858
|
+
*/
|
|
1859
|
+
severity?: "error" | "warning";
|
|
910
1860
|
/**
|
|
911
1861
|
* Emphasis style
|
|
912
1862
|
*/
|
|
913
1863
|
style?: "consistent" | "asterisk" | "underscore";
|
|
914
1864
|
};
|
|
915
1865
|
/**
|
|
916
|
-
* MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1866
|
+
* MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md050.md
|
|
917
1867
|
*/
|
|
918
1868
|
MD050?:
|
|
919
1869
|
| boolean
|
|
1870
|
+
| ("error" | "warning")
|
|
920
1871
|
| {
|
|
1872
|
+
/**
|
|
1873
|
+
* Whether to enable the rule
|
|
1874
|
+
*/
|
|
1875
|
+
enabled?: boolean;
|
|
1876
|
+
/**
|
|
1877
|
+
* Rule severity
|
|
1878
|
+
*/
|
|
1879
|
+
severity?: "error" | "warning";
|
|
921
1880
|
/**
|
|
922
1881
|
* Strong style
|
|
923
1882
|
*/
|
|
924
1883
|
style?: "consistent" | "asterisk" | "underscore";
|
|
925
1884
|
};
|
|
926
1885
|
/**
|
|
927
|
-
* MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1886
|
+
* MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md050.md
|
|
928
1887
|
*/
|
|
929
1888
|
"strong-style"?:
|
|
930
1889
|
| boolean
|
|
1890
|
+
| ("error" | "warning")
|
|
931
1891
|
| {
|
|
1892
|
+
/**
|
|
1893
|
+
* Whether to enable the rule
|
|
1894
|
+
*/
|
|
1895
|
+
enabled?: boolean;
|
|
1896
|
+
/**
|
|
1897
|
+
* Rule severity
|
|
1898
|
+
*/
|
|
1899
|
+
severity?: "error" | "warning";
|
|
932
1900
|
/**
|
|
933
1901
|
* Strong style
|
|
934
1902
|
*/
|
|
935
1903
|
style?: "consistent" | "asterisk" | "underscore";
|
|
936
1904
|
};
|
|
937
1905
|
/**
|
|
938
|
-
* MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1906
|
+
* MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md051.md
|
|
939
1907
|
*/
|
|
940
1908
|
MD051?:
|
|
941
1909
|
| boolean
|
|
1910
|
+
| ("error" | "warning")
|
|
942
1911
|
| {
|
|
1912
|
+
/**
|
|
1913
|
+
* Whether to enable the rule
|
|
1914
|
+
*/
|
|
1915
|
+
enabled?: boolean;
|
|
1916
|
+
/**
|
|
1917
|
+
* Rule severity
|
|
1918
|
+
*/
|
|
1919
|
+
severity?: "error" | "warning";
|
|
943
1920
|
/**
|
|
944
1921
|
* Ignore case of fragments
|
|
945
1922
|
*/
|
|
946
1923
|
ignore_case?: boolean;
|
|
1924
|
+
/**
|
|
1925
|
+
* Pattern for ignoring additional fragments
|
|
1926
|
+
*/
|
|
1927
|
+
ignored_pattern?: string;
|
|
947
1928
|
};
|
|
948
1929
|
/**
|
|
949
|
-
* MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1930
|
+
* MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md051.md
|
|
950
1931
|
*/
|
|
951
1932
|
"link-fragments"?:
|
|
952
1933
|
| boolean
|
|
1934
|
+
| ("error" | "warning")
|
|
953
1935
|
| {
|
|
1936
|
+
/**
|
|
1937
|
+
* Whether to enable the rule
|
|
1938
|
+
*/
|
|
1939
|
+
enabled?: boolean;
|
|
1940
|
+
/**
|
|
1941
|
+
* Rule severity
|
|
1942
|
+
*/
|
|
1943
|
+
severity?: "error" | "warning";
|
|
954
1944
|
/**
|
|
955
1945
|
* Ignore case of fragments
|
|
956
1946
|
*/
|
|
957
1947
|
ignore_case?: boolean;
|
|
1948
|
+
/**
|
|
1949
|
+
* Pattern for ignoring additional fragments
|
|
1950
|
+
*/
|
|
1951
|
+
ignored_pattern?: string;
|
|
958
1952
|
};
|
|
959
1953
|
/**
|
|
960
|
-
* MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1954
|
+
* MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md052.md
|
|
961
1955
|
*/
|
|
962
1956
|
MD052?:
|
|
963
1957
|
| boolean
|
|
1958
|
+
| ("error" | "warning")
|
|
964
1959
|
| {
|
|
1960
|
+
/**
|
|
1961
|
+
* Whether to enable the rule
|
|
1962
|
+
*/
|
|
1963
|
+
enabled?: boolean;
|
|
1964
|
+
/**
|
|
1965
|
+
* Rule severity
|
|
1966
|
+
*/
|
|
1967
|
+
severity?: "error" | "warning";
|
|
1968
|
+
/**
|
|
1969
|
+
* Ignored link labels
|
|
1970
|
+
*/
|
|
1971
|
+
ignored_labels?: string[];
|
|
965
1972
|
/**
|
|
966
1973
|
* Include shortcut syntax
|
|
967
1974
|
*/
|
|
968
1975
|
shortcut_syntax?: boolean;
|
|
969
1976
|
};
|
|
970
1977
|
/**
|
|
971
|
-
* MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1978
|
+
* MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md052.md
|
|
972
1979
|
*/
|
|
973
1980
|
"reference-links-images"?:
|
|
974
1981
|
| boolean
|
|
1982
|
+
| ("error" | "warning")
|
|
975
1983
|
| {
|
|
1984
|
+
/**
|
|
1985
|
+
* Whether to enable the rule
|
|
1986
|
+
*/
|
|
1987
|
+
enabled?: boolean;
|
|
1988
|
+
/**
|
|
1989
|
+
* Rule severity
|
|
1990
|
+
*/
|
|
1991
|
+
severity?: "error" | "warning";
|
|
1992
|
+
/**
|
|
1993
|
+
* Ignored link labels
|
|
1994
|
+
*/
|
|
1995
|
+
ignored_labels?: string[];
|
|
976
1996
|
/**
|
|
977
1997
|
* Include shortcut syntax
|
|
978
1998
|
*/
|
|
979
1999
|
shortcut_syntax?: boolean;
|
|
980
2000
|
};
|
|
981
2001
|
/**
|
|
982
|
-
* MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
2002
|
+
* MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md053.md
|
|
983
2003
|
*/
|
|
984
2004
|
MD053?:
|
|
985
2005
|
| boolean
|
|
2006
|
+
| ("error" | "warning")
|
|
986
2007
|
| {
|
|
2008
|
+
/**
|
|
2009
|
+
* Whether to enable the rule
|
|
2010
|
+
*/
|
|
2011
|
+
enabled?: boolean;
|
|
2012
|
+
/**
|
|
2013
|
+
* Rule severity
|
|
2014
|
+
*/
|
|
2015
|
+
severity?: "error" | "warning";
|
|
987
2016
|
/**
|
|
988
2017
|
* Ignored definitions
|
|
989
2018
|
*/
|
|
990
2019
|
ignored_definitions?: string[];
|
|
991
2020
|
};
|
|
992
2021
|
/**
|
|
993
|
-
* MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
2022
|
+
* MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md053.md
|
|
994
2023
|
*/
|
|
995
2024
|
"link-image-reference-definitions"?:
|
|
996
2025
|
| boolean
|
|
2026
|
+
| ("error" | "warning")
|
|
997
2027
|
| {
|
|
2028
|
+
/**
|
|
2029
|
+
* Whether to enable the rule
|
|
2030
|
+
*/
|
|
2031
|
+
enabled?: boolean;
|
|
2032
|
+
/**
|
|
2033
|
+
* Rule severity
|
|
2034
|
+
*/
|
|
2035
|
+
severity?: "error" | "warning";
|
|
998
2036
|
/**
|
|
999
2037
|
* Ignored definitions
|
|
1000
2038
|
*/
|
|
1001
2039
|
ignored_definitions?: string[];
|
|
1002
2040
|
};
|
|
1003
2041
|
/**
|
|
1004
|
-
* MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
2042
|
+
* MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md054.md
|
|
1005
2043
|
*/
|
|
1006
2044
|
MD054?:
|
|
1007
2045
|
| boolean
|
|
2046
|
+
| ("error" | "warning")
|
|
1008
2047
|
| {
|
|
2048
|
+
/**
|
|
2049
|
+
* Whether to enable the rule
|
|
2050
|
+
*/
|
|
2051
|
+
enabled?: boolean;
|
|
2052
|
+
/**
|
|
2053
|
+
* Rule severity
|
|
2054
|
+
*/
|
|
2055
|
+
severity?: "error" | "warning";
|
|
1009
2056
|
/**
|
|
1010
2057
|
* Allow autolinks
|
|
1011
2058
|
*/
|
|
@@ -1032,11 +2079,20 @@ export interface ConfigurationStrict {
|
|
|
1032
2079
|
url_inline?: boolean;
|
|
1033
2080
|
};
|
|
1034
2081
|
/**
|
|
1035
|
-
* MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
2082
|
+
* MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md054.md
|
|
1036
2083
|
*/
|
|
1037
2084
|
"link-image-style"?:
|
|
1038
2085
|
| boolean
|
|
2086
|
+
| ("error" | "warning")
|
|
1039
2087
|
| {
|
|
2088
|
+
/**
|
|
2089
|
+
* Whether to enable the rule
|
|
2090
|
+
*/
|
|
2091
|
+
enabled?: boolean;
|
|
2092
|
+
/**
|
|
2093
|
+
* Rule severity
|
|
2094
|
+
*/
|
|
2095
|
+
severity?: "error" | "warning";
|
|
1040
2096
|
/**
|
|
1041
2097
|
* Allow autolinks
|
|
1042
2098
|
*/
|
|
@@ -1063,137 +2119,283 @@ export interface ConfigurationStrict {
|
|
|
1063
2119
|
url_inline?: boolean;
|
|
1064
2120
|
};
|
|
1065
2121
|
/**
|
|
1066
|
-
* MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
2122
|
+
* MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md055.md
|
|
1067
2123
|
*/
|
|
1068
2124
|
MD055?:
|
|
1069
2125
|
| boolean
|
|
2126
|
+
| ("error" | "warning")
|
|
1070
2127
|
| {
|
|
2128
|
+
/**
|
|
2129
|
+
* Whether to enable the rule
|
|
2130
|
+
*/
|
|
2131
|
+
enabled?: boolean;
|
|
2132
|
+
/**
|
|
2133
|
+
* Rule severity
|
|
2134
|
+
*/
|
|
2135
|
+
severity?: "error" | "warning";
|
|
1071
2136
|
/**
|
|
1072
2137
|
* Table pipe style
|
|
1073
2138
|
*/
|
|
1074
2139
|
style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing";
|
|
1075
2140
|
};
|
|
1076
2141
|
/**
|
|
1077
|
-
* MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
2142
|
+
* MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md055.md
|
|
1078
2143
|
*/
|
|
1079
2144
|
"table-pipe-style"?:
|
|
1080
2145
|
| boolean
|
|
2146
|
+
| ("error" | "warning")
|
|
1081
2147
|
| {
|
|
2148
|
+
/**
|
|
2149
|
+
* Whether to enable the rule
|
|
2150
|
+
*/
|
|
2151
|
+
enabled?: boolean;
|
|
2152
|
+
/**
|
|
2153
|
+
* Rule severity
|
|
2154
|
+
*/
|
|
2155
|
+
severity?: "error" | "warning";
|
|
1082
2156
|
/**
|
|
1083
2157
|
* Table pipe style
|
|
1084
2158
|
*/
|
|
1085
2159
|
style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing";
|
|
1086
2160
|
};
|
|
1087
2161
|
/**
|
|
1088
|
-
* MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
2162
|
+
* MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md056.md
|
|
2163
|
+
*/
|
|
2164
|
+
MD056?:
|
|
2165
|
+
| boolean
|
|
2166
|
+
| ("error" | "warning")
|
|
2167
|
+
| {
|
|
2168
|
+
/**
|
|
2169
|
+
* Whether to enable the rule
|
|
2170
|
+
*/
|
|
2171
|
+
enabled?: boolean;
|
|
2172
|
+
/**
|
|
2173
|
+
* Rule severity
|
|
2174
|
+
*/
|
|
2175
|
+
severity?: "error" | "warning";
|
|
2176
|
+
};
|
|
2177
|
+
/**
|
|
2178
|
+
* MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md056.md
|
|
2179
|
+
*/
|
|
2180
|
+
"table-column-count"?:
|
|
2181
|
+
| boolean
|
|
2182
|
+
| ("error" | "warning")
|
|
2183
|
+
| {
|
|
2184
|
+
/**
|
|
2185
|
+
* Whether to enable the rule
|
|
2186
|
+
*/
|
|
2187
|
+
enabled?: boolean;
|
|
2188
|
+
/**
|
|
2189
|
+
* Rule severity
|
|
2190
|
+
*/
|
|
2191
|
+
severity?: "error" | "warning";
|
|
2192
|
+
};
|
|
2193
|
+
/**
|
|
2194
|
+
* MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md058.md
|
|
2195
|
+
*/
|
|
2196
|
+
MD058?:
|
|
2197
|
+
| boolean
|
|
2198
|
+
| ("error" | "warning")
|
|
2199
|
+
| {
|
|
2200
|
+
/**
|
|
2201
|
+
* Whether to enable the rule
|
|
2202
|
+
*/
|
|
2203
|
+
enabled?: boolean;
|
|
2204
|
+
/**
|
|
2205
|
+
* Rule severity
|
|
2206
|
+
*/
|
|
2207
|
+
severity?: "error" | "warning";
|
|
2208
|
+
};
|
|
2209
|
+
/**
|
|
2210
|
+
* MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md058.md
|
|
2211
|
+
*/
|
|
2212
|
+
"blanks-around-tables"?:
|
|
2213
|
+
| boolean
|
|
2214
|
+
| ("error" | "warning")
|
|
2215
|
+
| {
|
|
2216
|
+
/**
|
|
2217
|
+
* Whether to enable the rule
|
|
2218
|
+
*/
|
|
2219
|
+
enabled?: boolean;
|
|
2220
|
+
/**
|
|
2221
|
+
* Rule severity
|
|
2222
|
+
*/
|
|
2223
|
+
severity?: "error" | "warning";
|
|
2224
|
+
};
|
|
2225
|
+
/**
|
|
2226
|
+
* MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md059.md
|
|
1089
2227
|
*/
|
|
1090
|
-
|
|
2228
|
+
MD059?:
|
|
2229
|
+
| boolean
|
|
2230
|
+
| ("error" | "warning")
|
|
2231
|
+
| {
|
|
2232
|
+
/**
|
|
2233
|
+
* Whether to enable the rule
|
|
2234
|
+
*/
|
|
2235
|
+
enabled?: boolean;
|
|
2236
|
+
/**
|
|
2237
|
+
* Rule severity
|
|
2238
|
+
*/
|
|
2239
|
+
severity?: "error" | "warning";
|
|
2240
|
+
/**
|
|
2241
|
+
* Prohibited link texts
|
|
2242
|
+
*/
|
|
2243
|
+
prohibited_texts?: string[];
|
|
2244
|
+
};
|
|
1091
2245
|
/**
|
|
1092
|
-
*
|
|
2246
|
+
* MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md059.md
|
|
1093
2247
|
*/
|
|
1094
|
-
"
|
|
2248
|
+
"descriptive-link-text"?:
|
|
2249
|
+
| boolean
|
|
2250
|
+
| ("error" | "warning")
|
|
2251
|
+
| {
|
|
2252
|
+
/**
|
|
2253
|
+
* Whether to enable the rule
|
|
2254
|
+
*/
|
|
2255
|
+
enabled?: boolean;
|
|
2256
|
+
/**
|
|
2257
|
+
* Rule severity
|
|
2258
|
+
*/
|
|
2259
|
+
severity?: "error" | "warning";
|
|
2260
|
+
/**
|
|
2261
|
+
* Prohibited link texts
|
|
2262
|
+
*/
|
|
2263
|
+
prohibited_texts?: string[];
|
|
2264
|
+
};
|
|
1095
2265
|
/**
|
|
1096
|
-
*
|
|
2266
|
+
* MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md060.md
|
|
1097
2267
|
*/
|
|
1098
|
-
|
|
2268
|
+
MD060?:
|
|
2269
|
+
| boolean
|
|
2270
|
+
| ("error" | "warning")
|
|
2271
|
+
| {
|
|
2272
|
+
/**
|
|
2273
|
+
* Whether to enable the rule
|
|
2274
|
+
*/
|
|
2275
|
+
enabled?: boolean;
|
|
2276
|
+
/**
|
|
2277
|
+
* Rule severity
|
|
2278
|
+
*/
|
|
2279
|
+
severity?: "error" | "warning";
|
|
2280
|
+
/**
|
|
2281
|
+
* Table column style
|
|
2282
|
+
*/
|
|
2283
|
+
style?: "any" | "aligned" | "compact" | "tight";
|
|
2284
|
+
};
|
|
1099
2285
|
/**
|
|
1100
|
-
*
|
|
2286
|
+
* MD060/table-column-style : Table column style : https://github.com/DavidAnson/markdownlint/blob/v0.39.0/doc/md060.md
|
|
1101
2287
|
*/
|
|
1102
|
-
"
|
|
2288
|
+
"table-column-style"?:
|
|
2289
|
+
| boolean
|
|
2290
|
+
| ("error" | "warning")
|
|
2291
|
+
| {
|
|
2292
|
+
/**
|
|
2293
|
+
* Whether to enable the rule
|
|
2294
|
+
*/
|
|
2295
|
+
enabled?: boolean;
|
|
2296
|
+
/**
|
|
2297
|
+
* Rule severity
|
|
2298
|
+
*/
|
|
2299
|
+
severity?: "error" | "warning";
|
|
2300
|
+
/**
|
|
2301
|
+
* Table column style
|
|
2302
|
+
*/
|
|
2303
|
+
style?: "any" | "aligned" | "compact" | "tight";
|
|
2304
|
+
};
|
|
1103
2305
|
/**
|
|
1104
2306
|
* headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043
|
|
1105
2307
|
*/
|
|
1106
|
-
headings?: boolean;
|
|
2308
|
+
headings?: boolean | ("error" | "warning");
|
|
1107
2309
|
/**
|
|
1108
2310
|
* bullet : MD004, MD005, MD007, MD032
|
|
1109
2311
|
*/
|
|
1110
|
-
bullet?: boolean;
|
|
2312
|
+
bullet?: boolean | ("error" | "warning");
|
|
1111
2313
|
/**
|
|
1112
2314
|
* ul : MD004, MD005, MD007, MD030, MD032
|
|
1113
2315
|
*/
|
|
1114
|
-
ul?: boolean;
|
|
2316
|
+
ul?: boolean | ("error" | "warning");
|
|
1115
2317
|
/**
|
|
1116
2318
|
* indentation : MD005, MD007, MD027
|
|
1117
2319
|
*/
|
|
1118
|
-
indentation?: boolean;
|
|
2320
|
+
indentation?: boolean | ("error" | "warning");
|
|
1119
2321
|
/**
|
|
1120
2322
|
* whitespace : MD009, MD010, MD012, MD027, MD028, MD030, MD037, MD038, MD039
|
|
1121
2323
|
*/
|
|
1122
|
-
whitespace?: boolean;
|
|
2324
|
+
whitespace?: boolean | ("error" | "warning");
|
|
1123
2325
|
/**
|
|
1124
2326
|
* hard_tab : MD010
|
|
1125
2327
|
*/
|
|
1126
|
-
hard_tab?: boolean;
|
|
2328
|
+
hard_tab?: boolean | ("error" | "warning");
|
|
1127
2329
|
/**
|
|
1128
|
-
* links : MD011, MD034, MD039, MD042, MD051, MD052, MD053, MD054
|
|
2330
|
+
* links : MD011, MD034, MD039, MD042, MD051, MD052, MD053, MD054, MD059
|
|
1129
2331
|
*/
|
|
1130
|
-
links?: boolean;
|
|
2332
|
+
links?: boolean | ("error" | "warning");
|
|
1131
2333
|
/**
|
|
1132
2334
|
* blank_lines : MD012, MD022, MD031, MD032, MD047
|
|
1133
2335
|
*/
|
|
1134
|
-
blank_lines?: boolean;
|
|
2336
|
+
blank_lines?: boolean | ("error" | "warning");
|
|
1135
2337
|
/**
|
|
1136
2338
|
* line_length : MD013
|
|
1137
2339
|
*/
|
|
1138
|
-
line_length?: boolean;
|
|
2340
|
+
line_length?: boolean | ("error" | "warning");
|
|
1139
2341
|
/**
|
|
1140
2342
|
* code : MD014, MD031, MD038, MD040, MD046, MD048
|
|
1141
2343
|
*/
|
|
1142
|
-
code?: boolean;
|
|
2344
|
+
code?: boolean | ("error" | "warning");
|
|
1143
2345
|
/**
|
|
1144
2346
|
* atx : MD018, MD019
|
|
1145
2347
|
*/
|
|
1146
|
-
atx?: boolean;
|
|
2348
|
+
atx?: boolean | ("error" | "warning");
|
|
1147
2349
|
/**
|
|
1148
2350
|
* spaces : MD018, MD019, MD020, MD021, MD023
|
|
1149
2351
|
*/
|
|
1150
|
-
spaces?: boolean;
|
|
2352
|
+
spaces?: boolean | ("error" | "warning");
|
|
1151
2353
|
/**
|
|
1152
2354
|
* atx_closed : MD020, MD021
|
|
1153
2355
|
*/
|
|
1154
|
-
atx_closed?: boolean;
|
|
2356
|
+
atx_closed?: boolean | ("error" | "warning");
|
|
1155
2357
|
/**
|
|
1156
2358
|
* blockquote : MD027, MD028
|
|
1157
2359
|
*/
|
|
1158
|
-
blockquote?: boolean;
|
|
2360
|
+
blockquote?: boolean | ("error" | "warning");
|
|
1159
2361
|
/**
|
|
1160
2362
|
* ol : MD029, MD030, MD032
|
|
1161
2363
|
*/
|
|
1162
|
-
ol?: boolean;
|
|
2364
|
+
ol?: boolean | ("error" | "warning");
|
|
1163
2365
|
/**
|
|
1164
2366
|
* html : MD033
|
|
1165
2367
|
*/
|
|
1166
|
-
html?: boolean;
|
|
2368
|
+
html?: boolean | ("error" | "warning");
|
|
1167
2369
|
/**
|
|
1168
2370
|
* url : MD034
|
|
1169
2371
|
*/
|
|
1170
|
-
url?: boolean;
|
|
2372
|
+
url?: boolean | ("error" | "warning");
|
|
1171
2373
|
/**
|
|
1172
2374
|
* hr : MD035
|
|
1173
2375
|
*/
|
|
1174
|
-
hr?: boolean;
|
|
2376
|
+
hr?: boolean | ("error" | "warning");
|
|
1175
2377
|
/**
|
|
1176
2378
|
* emphasis : MD036, MD037, MD049, MD050
|
|
1177
2379
|
*/
|
|
1178
|
-
emphasis?: boolean;
|
|
2380
|
+
emphasis?: boolean | ("error" | "warning");
|
|
1179
2381
|
/**
|
|
1180
2382
|
* language : MD040
|
|
1181
2383
|
*/
|
|
1182
|
-
language?: boolean;
|
|
2384
|
+
language?: boolean | ("error" | "warning");
|
|
1183
2385
|
/**
|
|
1184
2386
|
* spelling : MD044
|
|
1185
2387
|
*/
|
|
1186
|
-
spelling?: boolean;
|
|
2388
|
+
spelling?: boolean | ("error" | "warning");
|
|
1187
2389
|
/**
|
|
1188
|
-
* accessibility : MD045
|
|
2390
|
+
* accessibility : MD045, MD059
|
|
1189
2391
|
*/
|
|
1190
|
-
accessibility?: boolean;
|
|
2392
|
+
accessibility?: boolean | ("error" | "warning");
|
|
1191
2393
|
/**
|
|
1192
2394
|
* images : MD045, MD052, MD053, MD054
|
|
1193
2395
|
*/
|
|
1194
|
-
images?: boolean;
|
|
2396
|
+
images?: boolean | ("error" | "warning");
|
|
1195
2397
|
/**
|
|
1196
|
-
* table : MD055, MD056, MD058
|
|
2398
|
+
* table : MD055, MD056, MD058, MD060
|
|
1197
2399
|
*/
|
|
1198
|
-
table?: boolean;
|
|
2400
|
+
table?: boolean | ("error" | "warning");
|
|
1199
2401
|
}
|