markdownlint 0.37.4 → 0.38.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/CONTRIBUTING.md +2 -3
- package/README.md +39 -21
- package/doc/Rules.md +158 -35
- package/doc/md027.md +8 -0
- 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/md059.md +30 -0
- package/helpers/README.md +2 -2
- package/helpers/helpers.cjs +4 -6
- package/helpers/micromark-helpers.cjs +29 -3
- package/helpers/package.json +1 -1
- package/lib/cache.mjs +19 -5
- package/lib/configuration-strict.d.ts +190 -126
- package/lib/constants.mjs +1 -1
- package/lib/exports.d.mts +1 -0
- package/lib/exports.mjs +1 -0
- package/lib/markdownit.cjs +6 -13
- package/lib/markdownlint.d.mts +36 -2
- package/lib/markdownlint.mjs +306 -282
- package/lib/md025.mjs +23 -15
- package/lib/md027.mjs +11 -1
- package/lib/md036.mjs +12 -2
- package/lib/md038.mjs +52 -71
- package/lib/md041.mjs +54 -16
- package/lib/md043.mjs +2 -0
- package/lib/md045.mjs +3 -1
- package/lib/md051.mjs +13 -5
- package/lib/md052.mjs +2 -1
- package/lib/md059.mjs +71 -0
- package/lib/micromark-parse.mjs +14 -3
- package/lib/parse-configuration.mjs +46 -0
- package/lib/rules.mjs +3 -1
- package/package.json +28 -25
- package/schema/.markdownlint.jsonc +82 -60
- package/schema/.markdownlint.yaml +74 -56
- package/schema/markdownlint-config-schema-strict.json +259 -144
- package/schema/markdownlint-config-schema.json +259 -144
|
@@ -19,15 +19,15 @@ export interface ConfigurationStrict {
|
|
|
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.38.0/doc/md001.md
|
|
23
23
|
*/
|
|
24
24
|
MD001?: boolean;
|
|
25
25
|
/**
|
|
26
|
-
* MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
26
|
+
* MD001/heading-increment : Heading levels should only increment by one level at a time : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md001.md
|
|
27
27
|
*/
|
|
28
28
|
"heading-increment"?: boolean;
|
|
29
29
|
/**
|
|
30
|
-
* MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
30
|
+
* MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md
|
|
31
31
|
*/
|
|
32
32
|
MD003?:
|
|
33
33
|
| boolean
|
|
@@ -38,7 +38,7 @@ export interface ConfigurationStrict {
|
|
|
38
38
|
style?: "consistent" | "atx" | "atx_closed" | "setext" | "setext_with_atx" | "setext_with_atx_closed";
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
* MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
41
|
+
* MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md
|
|
42
42
|
*/
|
|
43
43
|
"heading-style"?:
|
|
44
44
|
| boolean
|
|
@@ -49,7 +49,7 @@ export interface ConfigurationStrict {
|
|
|
49
49
|
style?: "consistent" | "atx" | "atx_closed" | "setext" | "setext_with_atx" | "setext_with_atx_closed";
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
|
-
* MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
52
|
+
* MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md
|
|
53
53
|
*/
|
|
54
54
|
MD004?:
|
|
55
55
|
| boolean
|
|
@@ -60,7 +60,7 @@ export interface ConfigurationStrict {
|
|
|
60
60
|
style?: "consistent" | "asterisk" | "plus" | "dash" | "sublist";
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
|
-
* MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
63
|
+
* MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md
|
|
64
64
|
*/
|
|
65
65
|
"ul-style"?:
|
|
66
66
|
| boolean
|
|
@@ -71,15 +71,15 @@ export interface ConfigurationStrict {
|
|
|
71
71
|
style?: "consistent" | "asterisk" | "plus" | "dash" | "sublist";
|
|
72
72
|
};
|
|
73
73
|
/**
|
|
74
|
-
* MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
74
|
+
* MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md
|
|
75
75
|
*/
|
|
76
76
|
MD005?: boolean;
|
|
77
77
|
/**
|
|
78
|
-
* MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
78
|
+
* MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md
|
|
79
79
|
*/
|
|
80
80
|
"list-indent"?: boolean;
|
|
81
81
|
/**
|
|
82
|
-
* MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
82
|
+
* MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md
|
|
83
83
|
*/
|
|
84
84
|
MD007?:
|
|
85
85
|
| boolean
|
|
@@ -98,7 +98,7 @@ export interface ConfigurationStrict {
|
|
|
98
98
|
start_indent?: number;
|
|
99
99
|
};
|
|
100
100
|
/**
|
|
101
|
-
* MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
101
|
+
* MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md
|
|
102
102
|
*/
|
|
103
103
|
"ul-indent"?:
|
|
104
104
|
| boolean
|
|
@@ -117,7 +117,7 @@ export interface ConfigurationStrict {
|
|
|
117
117
|
start_indent?: number;
|
|
118
118
|
};
|
|
119
119
|
/**
|
|
120
|
-
* MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
120
|
+
* MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md
|
|
121
121
|
*/
|
|
122
122
|
MD009?:
|
|
123
123
|
| boolean
|
|
@@ -136,7 +136,7 @@ export interface ConfigurationStrict {
|
|
|
136
136
|
strict?: boolean;
|
|
137
137
|
};
|
|
138
138
|
/**
|
|
139
|
-
* MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
139
|
+
* MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md
|
|
140
140
|
*/
|
|
141
141
|
"no-trailing-spaces"?:
|
|
142
142
|
| boolean
|
|
@@ -155,7 +155,7 @@ export interface ConfigurationStrict {
|
|
|
155
155
|
strict?: boolean;
|
|
156
156
|
};
|
|
157
157
|
/**
|
|
158
|
-
* MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
158
|
+
* MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md
|
|
159
159
|
*/
|
|
160
160
|
MD010?:
|
|
161
161
|
| boolean
|
|
@@ -174,7 +174,7 @@ export interface ConfigurationStrict {
|
|
|
174
174
|
spaces_per_tab?: number;
|
|
175
175
|
};
|
|
176
176
|
/**
|
|
177
|
-
* MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
177
|
+
* MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md
|
|
178
178
|
*/
|
|
179
179
|
"no-hard-tabs"?:
|
|
180
180
|
| boolean
|
|
@@ -193,15 +193,15 @@ export interface ConfigurationStrict {
|
|
|
193
193
|
spaces_per_tab?: number;
|
|
194
194
|
};
|
|
195
195
|
/**
|
|
196
|
-
* MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
196
|
+
* MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md
|
|
197
197
|
*/
|
|
198
198
|
MD011?: boolean;
|
|
199
199
|
/**
|
|
200
|
-
* MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
200
|
+
* MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md
|
|
201
201
|
*/
|
|
202
202
|
"no-reversed-links"?: boolean;
|
|
203
203
|
/**
|
|
204
|
-
* MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
204
|
+
* MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md
|
|
205
205
|
*/
|
|
206
206
|
MD012?:
|
|
207
207
|
| boolean
|
|
@@ -212,7 +212,7 @@ export interface ConfigurationStrict {
|
|
|
212
212
|
maximum?: number;
|
|
213
213
|
};
|
|
214
214
|
/**
|
|
215
|
-
* MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
215
|
+
* MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md
|
|
216
216
|
*/
|
|
217
217
|
"no-multiple-blanks"?:
|
|
218
218
|
| boolean
|
|
@@ -223,7 +223,7 @@ export interface ConfigurationStrict {
|
|
|
223
223
|
maximum?: number;
|
|
224
224
|
};
|
|
225
225
|
/**
|
|
226
|
-
* MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
226
|
+
* MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md
|
|
227
227
|
*/
|
|
228
228
|
MD013?:
|
|
229
229
|
| boolean
|
|
@@ -262,7 +262,7 @@ export interface ConfigurationStrict {
|
|
|
262
262
|
stern?: boolean;
|
|
263
263
|
};
|
|
264
264
|
/**
|
|
265
|
-
* MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
265
|
+
* MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md
|
|
266
266
|
*/
|
|
267
267
|
"line-length"?:
|
|
268
268
|
| boolean
|
|
@@ -301,47 +301,47 @@ export interface ConfigurationStrict {
|
|
|
301
301
|
stern?: boolean;
|
|
302
302
|
};
|
|
303
303
|
/**
|
|
304
|
-
* MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
304
|
+
* MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md
|
|
305
305
|
*/
|
|
306
306
|
MD014?: boolean;
|
|
307
307
|
/**
|
|
308
|
-
* MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
308
|
+
* MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md
|
|
309
309
|
*/
|
|
310
310
|
"commands-show-output"?: boolean;
|
|
311
311
|
/**
|
|
312
|
-
* MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
312
|
+
* MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md
|
|
313
313
|
*/
|
|
314
314
|
MD018?: boolean;
|
|
315
315
|
/**
|
|
316
|
-
* MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
316
|
+
* MD018/no-missing-space-atx : No space after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md018.md
|
|
317
317
|
*/
|
|
318
318
|
"no-missing-space-atx"?: boolean;
|
|
319
319
|
/**
|
|
320
|
-
* MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
320
|
+
* MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md
|
|
321
321
|
*/
|
|
322
322
|
MD019?: boolean;
|
|
323
323
|
/**
|
|
324
|
-
* MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
324
|
+
* MD019/no-multiple-space-atx : Multiple spaces after hash on atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md019.md
|
|
325
325
|
*/
|
|
326
326
|
"no-multiple-space-atx"?: boolean;
|
|
327
327
|
/**
|
|
328
|
-
* MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
328
|
+
* MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md
|
|
329
329
|
*/
|
|
330
330
|
MD020?: boolean;
|
|
331
331
|
/**
|
|
332
|
-
* MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
332
|
+
* MD020/no-missing-space-closed-atx : No space inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md020.md
|
|
333
333
|
*/
|
|
334
334
|
"no-missing-space-closed-atx"?: boolean;
|
|
335
335
|
/**
|
|
336
|
-
* MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
336
|
+
* MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md
|
|
337
337
|
*/
|
|
338
338
|
MD021?: boolean;
|
|
339
339
|
/**
|
|
340
|
-
* MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
340
|
+
* MD021/no-multiple-space-closed-atx : Multiple spaces inside hashes on closed atx style heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md021.md
|
|
341
341
|
*/
|
|
342
342
|
"no-multiple-space-closed-atx"?: boolean;
|
|
343
343
|
/**
|
|
344
|
-
* MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
344
|
+
* MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md
|
|
345
345
|
*/
|
|
346
346
|
MD022?:
|
|
347
347
|
| boolean
|
|
@@ -356,7 +356,7 @@ export interface ConfigurationStrict {
|
|
|
356
356
|
lines_below?: number | number[];
|
|
357
357
|
};
|
|
358
358
|
/**
|
|
359
|
-
* MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
359
|
+
* MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md
|
|
360
360
|
*/
|
|
361
361
|
"blanks-around-headings"?:
|
|
362
362
|
| boolean
|
|
@@ -371,15 +371,15 @@ export interface ConfigurationStrict {
|
|
|
371
371
|
lines_below?: number | number[];
|
|
372
372
|
};
|
|
373
373
|
/**
|
|
374
|
-
* MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
374
|
+
* MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md
|
|
375
375
|
*/
|
|
376
376
|
MD023?: boolean;
|
|
377
377
|
/**
|
|
378
|
-
* MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
378
|
+
* MD023/heading-start-left : Headings must start at the beginning of the line : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md023.md
|
|
379
379
|
*/
|
|
380
380
|
"heading-start-left"?: boolean;
|
|
381
381
|
/**
|
|
382
|
-
* MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
382
|
+
* MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md
|
|
383
383
|
*/
|
|
384
384
|
MD024?:
|
|
385
385
|
| boolean
|
|
@@ -390,7 +390,7 @@ export interface ConfigurationStrict {
|
|
|
390
390
|
siblings_only?: boolean;
|
|
391
391
|
};
|
|
392
392
|
/**
|
|
393
|
-
* MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
393
|
+
* MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md
|
|
394
394
|
*/
|
|
395
395
|
"no-duplicate-heading"?:
|
|
396
396
|
| boolean
|
|
@@ -401,52 +401,52 @@ export interface ConfigurationStrict {
|
|
|
401
401
|
siblings_only?: boolean;
|
|
402
402
|
};
|
|
403
403
|
/**
|
|
404
|
-
* MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
404
|
+
* MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md
|
|
405
405
|
*/
|
|
406
406
|
MD025?:
|
|
407
407
|
| boolean
|
|
408
408
|
| {
|
|
409
|
-
/**
|
|
410
|
-
* Heading level
|
|
411
|
-
*/
|
|
412
|
-
level?: number;
|
|
413
409
|
/**
|
|
414
410
|
* RegExp for matching title in front matter
|
|
415
411
|
*/
|
|
416
412
|
front_matter_title?: string;
|
|
413
|
+
/**
|
|
414
|
+
* Heading level
|
|
415
|
+
*/
|
|
416
|
+
level?: number;
|
|
417
417
|
};
|
|
418
418
|
/**
|
|
419
|
-
* MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
419
|
+
* MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md
|
|
420
420
|
*/
|
|
421
421
|
"single-title"?:
|
|
422
422
|
| boolean
|
|
423
423
|
| {
|
|
424
|
-
/**
|
|
425
|
-
* Heading level
|
|
426
|
-
*/
|
|
427
|
-
level?: number;
|
|
428
424
|
/**
|
|
429
425
|
* RegExp for matching title in front matter
|
|
430
426
|
*/
|
|
431
427
|
front_matter_title?: string;
|
|
428
|
+
/**
|
|
429
|
+
* Heading level
|
|
430
|
+
*/
|
|
431
|
+
level?: number;
|
|
432
432
|
};
|
|
433
433
|
/**
|
|
434
|
-
* MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
434
|
+
* MD025/single-title/single-h1 : Multiple top-level headings in the same document : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md025.md
|
|
435
435
|
*/
|
|
436
436
|
"single-h1"?:
|
|
437
437
|
| boolean
|
|
438
438
|
| {
|
|
439
|
-
/**
|
|
440
|
-
* Heading level
|
|
441
|
-
*/
|
|
442
|
-
level?: number;
|
|
443
439
|
/**
|
|
444
440
|
* RegExp for matching title in front matter
|
|
445
441
|
*/
|
|
446
442
|
front_matter_title?: string;
|
|
443
|
+
/**
|
|
444
|
+
* Heading level
|
|
445
|
+
*/
|
|
446
|
+
level?: number;
|
|
447
447
|
};
|
|
448
448
|
/**
|
|
449
|
-
* MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
449
|
+
* MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md
|
|
450
450
|
*/
|
|
451
451
|
MD026?:
|
|
452
452
|
| boolean
|
|
@@ -457,7 +457,7 @@ export interface ConfigurationStrict {
|
|
|
457
457
|
punctuation?: string;
|
|
458
458
|
};
|
|
459
459
|
/**
|
|
460
|
-
* MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
460
|
+
* MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md
|
|
461
461
|
*/
|
|
462
462
|
"no-trailing-punctuation"?:
|
|
463
463
|
| boolean
|
|
@@ -468,23 +468,37 @@ export interface ConfigurationStrict {
|
|
|
468
468
|
punctuation?: string;
|
|
469
469
|
};
|
|
470
470
|
/**
|
|
471
|
-
* MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
471
|
+
* MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md
|
|
472
472
|
*/
|
|
473
|
-
MD027?:
|
|
473
|
+
MD027?:
|
|
474
|
+
| boolean
|
|
475
|
+
| {
|
|
476
|
+
/**
|
|
477
|
+
* Include list items
|
|
478
|
+
*/
|
|
479
|
+
list_items?: boolean;
|
|
480
|
+
};
|
|
474
481
|
/**
|
|
475
|
-
* MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
482
|
+
* MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md
|
|
476
483
|
*/
|
|
477
|
-
"no-multiple-space-blockquote"?:
|
|
484
|
+
"no-multiple-space-blockquote"?:
|
|
485
|
+
| boolean
|
|
486
|
+
| {
|
|
487
|
+
/**
|
|
488
|
+
* Include list items
|
|
489
|
+
*/
|
|
490
|
+
list_items?: boolean;
|
|
491
|
+
};
|
|
478
492
|
/**
|
|
479
|
-
* MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
493
|
+
* MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md
|
|
480
494
|
*/
|
|
481
495
|
MD028?: boolean;
|
|
482
496
|
/**
|
|
483
|
-
* MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
497
|
+
* MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md
|
|
484
498
|
*/
|
|
485
499
|
"no-blanks-blockquote"?: boolean;
|
|
486
500
|
/**
|
|
487
|
-
* MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
501
|
+
* MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md
|
|
488
502
|
*/
|
|
489
503
|
MD029?:
|
|
490
504
|
| boolean
|
|
@@ -495,7 +509,7 @@ export interface ConfigurationStrict {
|
|
|
495
509
|
style?: "one" | "ordered" | "one_or_ordered" | "zero";
|
|
496
510
|
};
|
|
497
511
|
/**
|
|
498
|
-
* MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
512
|
+
* MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md
|
|
499
513
|
*/
|
|
500
514
|
"ol-prefix"?:
|
|
501
515
|
| boolean
|
|
@@ -506,7 +520,7 @@ export interface ConfigurationStrict {
|
|
|
506
520
|
style?: "one" | "ordered" | "one_or_ordered" | "zero";
|
|
507
521
|
};
|
|
508
522
|
/**
|
|
509
|
-
* MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
523
|
+
* MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md
|
|
510
524
|
*/
|
|
511
525
|
MD030?:
|
|
512
526
|
| boolean
|
|
@@ -529,7 +543,7 @@ export interface ConfigurationStrict {
|
|
|
529
543
|
ol_multi?: number;
|
|
530
544
|
};
|
|
531
545
|
/**
|
|
532
|
-
* MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
546
|
+
* MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md
|
|
533
547
|
*/
|
|
534
548
|
"list-marker-space"?:
|
|
535
549
|
| boolean
|
|
@@ -552,7 +566,7 @@ export interface ConfigurationStrict {
|
|
|
552
566
|
ol_multi?: number;
|
|
553
567
|
};
|
|
554
568
|
/**
|
|
555
|
-
* MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
569
|
+
* MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md
|
|
556
570
|
*/
|
|
557
571
|
MD031?:
|
|
558
572
|
| boolean
|
|
@@ -563,7 +577,7 @@ export interface ConfigurationStrict {
|
|
|
563
577
|
list_items?: boolean;
|
|
564
578
|
};
|
|
565
579
|
/**
|
|
566
|
-
* MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
580
|
+
* MD031/blanks-around-fences : Fenced code blocks should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md031.md
|
|
567
581
|
*/
|
|
568
582
|
"blanks-around-fences"?:
|
|
569
583
|
| boolean
|
|
@@ -574,15 +588,15 @@ export interface ConfigurationStrict {
|
|
|
574
588
|
list_items?: boolean;
|
|
575
589
|
};
|
|
576
590
|
/**
|
|
577
|
-
* MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
591
|
+
* MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md
|
|
578
592
|
*/
|
|
579
593
|
MD032?: boolean;
|
|
580
594
|
/**
|
|
581
|
-
* MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
595
|
+
* MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md
|
|
582
596
|
*/
|
|
583
597
|
"blanks-around-lists"?: boolean;
|
|
584
598
|
/**
|
|
585
|
-
* MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
599
|
+
* MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md
|
|
586
600
|
*/
|
|
587
601
|
MD033?:
|
|
588
602
|
| boolean
|
|
@@ -593,7 +607,7 @@ export interface ConfigurationStrict {
|
|
|
593
607
|
allowed_elements?: string[];
|
|
594
608
|
};
|
|
595
609
|
/**
|
|
596
|
-
* MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
610
|
+
* MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md
|
|
597
611
|
*/
|
|
598
612
|
"no-inline-html"?:
|
|
599
613
|
| boolean
|
|
@@ -604,15 +618,15 @@ export interface ConfigurationStrict {
|
|
|
604
618
|
allowed_elements?: string[];
|
|
605
619
|
};
|
|
606
620
|
/**
|
|
607
|
-
* MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
621
|
+
* MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md
|
|
608
622
|
*/
|
|
609
623
|
MD034?: boolean;
|
|
610
624
|
/**
|
|
611
|
-
* MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
625
|
+
* MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md
|
|
612
626
|
*/
|
|
613
627
|
"no-bare-urls"?: boolean;
|
|
614
628
|
/**
|
|
615
|
-
* MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
629
|
+
* MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md
|
|
616
630
|
*/
|
|
617
631
|
MD035?:
|
|
618
632
|
| boolean
|
|
@@ -623,7 +637,7 @@ export interface ConfigurationStrict {
|
|
|
623
637
|
style?: string;
|
|
624
638
|
};
|
|
625
639
|
/**
|
|
626
|
-
* MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
640
|
+
* MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md
|
|
627
641
|
*/
|
|
628
642
|
"hr-style"?:
|
|
629
643
|
| boolean
|
|
@@ -634,7 +648,7 @@ export interface ConfigurationStrict {
|
|
|
634
648
|
style?: string;
|
|
635
649
|
};
|
|
636
650
|
/**
|
|
637
|
-
* MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
651
|
+
* MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md
|
|
638
652
|
*/
|
|
639
653
|
MD036?:
|
|
640
654
|
| boolean
|
|
@@ -645,7 +659,7 @@ export interface ConfigurationStrict {
|
|
|
645
659
|
punctuation?: string;
|
|
646
660
|
};
|
|
647
661
|
/**
|
|
648
|
-
* MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
662
|
+
* MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md
|
|
649
663
|
*/
|
|
650
664
|
"no-emphasis-as-heading"?:
|
|
651
665
|
| boolean
|
|
@@ -656,31 +670,31 @@ export interface ConfigurationStrict {
|
|
|
656
670
|
punctuation?: string;
|
|
657
671
|
};
|
|
658
672
|
/**
|
|
659
|
-
* MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
673
|
+
* MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md
|
|
660
674
|
*/
|
|
661
675
|
MD037?: boolean;
|
|
662
676
|
/**
|
|
663
|
-
* MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
677
|
+
* MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md
|
|
664
678
|
*/
|
|
665
679
|
"no-space-in-emphasis"?: boolean;
|
|
666
680
|
/**
|
|
667
|
-
* MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
681
|
+
* MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md
|
|
668
682
|
*/
|
|
669
683
|
MD038?: boolean;
|
|
670
684
|
/**
|
|
671
|
-
* MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
685
|
+
* MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md
|
|
672
686
|
*/
|
|
673
687
|
"no-space-in-code"?: boolean;
|
|
674
688
|
/**
|
|
675
|
-
* MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
689
|
+
* MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md
|
|
676
690
|
*/
|
|
677
691
|
MD039?: boolean;
|
|
678
692
|
/**
|
|
679
|
-
* MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
693
|
+
* MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md
|
|
680
694
|
*/
|
|
681
695
|
"no-space-in-links"?: boolean;
|
|
682
696
|
/**
|
|
683
|
-
* MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
697
|
+
* MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md
|
|
684
698
|
*/
|
|
685
699
|
MD040?:
|
|
686
700
|
| boolean
|
|
@@ -695,7 +709,7 @@ export interface ConfigurationStrict {
|
|
|
695
709
|
language_only?: boolean;
|
|
696
710
|
};
|
|
697
711
|
/**
|
|
698
|
-
* MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
712
|
+
* MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md
|
|
699
713
|
*/
|
|
700
714
|
"fenced-code-language"?:
|
|
701
715
|
| boolean
|
|
@@ -710,60 +724,72 @@ export interface ConfigurationStrict {
|
|
|
710
724
|
language_only?: boolean;
|
|
711
725
|
};
|
|
712
726
|
/**
|
|
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.
|
|
727
|
+
* 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.38.0/doc/md041.md
|
|
714
728
|
*/
|
|
715
729
|
MD041?:
|
|
716
730
|
| boolean
|
|
717
731
|
| {
|
|
718
732
|
/**
|
|
719
|
-
*
|
|
733
|
+
* Allow content before first heading
|
|
720
734
|
*/
|
|
721
|
-
|
|
735
|
+
allow_preamble?: boolean;
|
|
722
736
|
/**
|
|
723
737
|
* RegExp for matching title in front matter
|
|
724
738
|
*/
|
|
725
739
|
front_matter_title?: string;
|
|
740
|
+
/**
|
|
741
|
+
* Heading level
|
|
742
|
+
*/
|
|
743
|
+
level?: number;
|
|
726
744
|
};
|
|
727
745
|
/**
|
|
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.
|
|
746
|
+
* 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.38.0/doc/md041.md
|
|
729
747
|
*/
|
|
730
748
|
"first-line-heading"?:
|
|
731
749
|
| boolean
|
|
732
750
|
| {
|
|
733
751
|
/**
|
|
734
|
-
*
|
|
752
|
+
* Allow content before first heading
|
|
735
753
|
*/
|
|
736
|
-
|
|
754
|
+
allow_preamble?: boolean;
|
|
737
755
|
/**
|
|
738
756
|
* RegExp for matching title in front matter
|
|
739
757
|
*/
|
|
740
758
|
front_matter_title?: string;
|
|
759
|
+
/**
|
|
760
|
+
* Heading level
|
|
761
|
+
*/
|
|
762
|
+
level?: number;
|
|
741
763
|
};
|
|
742
764
|
/**
|
|
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.
|
|
765
|
+
* 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.38.0/doc/md041.md
|
|
744
766
|
*/
|
|
745
767
|
"first-line-h1"?:
|
|
746
768
|
| boolean
|
|
747
769
|
| {
|
|
748
770
|
/**
|
|
749
|
-
*
|
|
771
|
+
* Allow content before first heading
|
|
750
772
|
*/
|
|
751
|
-
|
|
773
|
+
allow_preamble?: boolean;
|
|
752
774
|
/**
|
|
753
775
|
* RegExp for matching title in front matter
|
|
754
776
|
*/
|
|
755
777
|
front_matter_title?: string;
|
|
778
|
+
/**
|
|
779
|
+
* Heading level
|
|
780
|
+
*/
|
|
781
|
+
level?: number;
|
|
756
782
|
};
|
|
757
783
|
/**
|
|
758
|
-
* MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
784
|
+
* MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md
|
|
759
785
|
*/
|
|
760
786
|
MD042?: boolean;
|
|
761
787
|
/**
|
|
762
|
-
* MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
788
|
+
* MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md
|
|
763
789
|
*/
|
|
764
790
|
"no-empty-links"?: boolean;
|
|
765
791
|
/**
|
|
766
|
-
* MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
792
|
+
* MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md
|
|
767
793
|
*/
|
|
768
794
|
MD043?:
|
|
769
795
|
| boolean
|
|
@@ -778,7 +804,7 @@ export interface ConfigurationStrict {
|
|
|
778
804
|
match_case?: boolean;
|
|
779
805
|
};
|
|
780
806
|
/**
|
|
781
|
-
* MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
807
|
+
* MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md
|
|
782
808
|
*/
|
|
783
809
|
"required-headings"?:
|
|
784
810
|
| boolean
|
|
@@ -793,7 +819,7 @@ export interface ConfigurationStrict {
|
|
|
793
819
|
match_case?: boolean;
|
|
794
820
|
};
|
|
795
821
|
/**
|
|
796
|
-
* MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
822
|
+
* MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md
|
|
797
823
|
*/
|
|
798
824
|
MD044?:
|
|
799
825
|
| boolean
|
|
@@ -812,7 +838,7 @@ export interface ConfigurationStrict {
|
|
|
812
838
|
html_elements?: boolean;
|
|
813
839
|
};
|
|
814
840
|
/**
|
|
815
|
-
* MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
841
|
+
* MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md
|
|
816
842
|
*/
|
|
817
843
|
"proper-names"?:
|
|
818
844
|
| boolean
|
|
@@ -831,15 +857,15 @@ export interface ConfigurationStrict {
|
|
|
831
857
|
html_elements?: boolean;
|
|
832
858
|
};
|
|
833
859
|
/**
|
|
834
|
-
* MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
860
|
+
* MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md
|
|
835
861
|
*/
|
|
836
862
|
MD045?: boolean;
|
|
837
863
|
/**
|
|
838
|
-
* MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
864
|
+
* MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md
|
|
839
865
|
*/
|
|
840
866
|
"no-alt-text"?: boolean;
|
|
841
867
|
/**
|
|
842
|
-
* MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
868
|
+
* MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md
|
|
843
869
|
*/
|
|
844
870
|
MD046?:
|
|
845
871
|
| boolean
|
|
@@ -850,7 +876,7 @@ export interface ConfigurationStrict {
|
|
|
850
876
|
style?: "consistent" | "fenced" | "indented";
|
|
851
877
|
};
|
|
852
878
|
/**
|
|
853
|
-
* MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
879
|
+
* MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md
|
|
854
880
|
*/
|
|
855
881
|
"code-block-style"?:
|
|
856
882
|
| boolean
|
|
@@ -861,15 +887,15 @@ export interface ConfigurationStrict {
|
|
|
861
887
|
style?: "consistent" | "fenced" | "indented";
|
|
862
888
|
};
|
|
863
889
|
/**
|
|
864
|
-
* MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
890
|
+
* MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md
|
|
865
891
|
*/
|
|
866
892
|
MD047?: boolean;
|
|
867
893
|
/**
|
|
868
|
-
* MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
894
|
+
* MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md
|
|
869
895
|
*/
|
|
870
896
|
"single-trailing-newline"?: boolean;
|
|
871
897
|
/**
|
|
872
|
-
* MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
898
|
+
* MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md
|
|
873
899
|
*/
|
|
874
900
|
MD048?:
|
|
875
901
|
| boolean
|
|
@@ -880,7 +906,7 @@ export interface ConfigurationStrict {
|
|
|
880
906
|
style?: "consistent" | "backtick" | "tilde";
|
|
881
907
|
};
|
|
882
908
|
/**
|
|
883
|
-
* MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
909
|
+
* MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md
|
|
884
910
|
*/
|
|
885
911
|
"code-fence-style"?:
|
|
886
912
|
| boolean
|
|
@@ -891,7 +917,7 @@ export interface ConfigurationStrict {
|
|
|
891
917
|
style?: "consistent" | "backtick" | "tilde";
|
|
892
918
|
};
|
|
893
919
|
/**
|
|
894
|
-
* MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
920
|
+
* MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md
|
|
895
921
|
*/
|
|
896
922
|
MD049?:
|
|
897
923
|
| boolean
|
|
@@ -902,7 +928,7 @@ export interface ConfigurationStrict {
|
|
|
902
928
|
style?: "consistent" | "asterisk" | "underscore";
|
|
903
929
|
};
|
|
904
930
|
/**
|
|
905
|
-
* MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
931
|
+
* MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md
|
|
906
932
|
*/
|
|
907
933
|
"emphasis-style"?:
|
|
908
934
|
| boolean
|
|
@@ -913,7 +939,7 @@ export interface ConfigurationStrict {
|
|
|
913
939
|
style?: "consistent" | "asterisk" | "underscore";
|
|
914
940
|
};
|
|
915
941
|
/**
|
|
916
|
-
* MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
942
|
+
* MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md
|
|
917
943
|
*/
|
|
918
944
|
MD050?:
|
|
919
945
|
| boolean
|
|
@@ -924,7 +950,7 @@ export interface ConfigurationStrict {
|
|
|
924
950
|
style?: "consistent" | "asterisk" | "underscore";
|
|
925
951
|
};
|
|
926
952
|
/**
|
|
927
|
-
* MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
953
|
+
* MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md
|
|
928
954
|
*/
|
|
929
955
|
"strong-style"?:
|
|
930
956
|
| boolean
|
|
@@ -935,7 +961,7 @@ export interface ConfigurationStrict {
|
|
|
935
961
|
style?: "consistent" | "asterisk" | "underscore";
|
|
936
962
|
};
|
|
937
963
|
/**
|
|
938
|
-
* MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
964
|
+
* MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md
|
|
939
965
|
*/
|
|
940
966
|
MD051?:
|
|
941
967
|
| boolean
|
|
@@ -944,9 +970,13 @@ export interface ConfigurationStrict {
|
|
|
944
970
|
* Ignore case of fragments
|
|
945
971
|
*/
|
|
946
972
|
ignore_case?: boolean;
|
|
973
|
+
/**
|
|
974
|
+
* Pattern for ignoring additional fragments
|
|
975
|
+
*/
|
|
976
|
+
ignored_pattern?: string;
|
|
947
977
|
};
|
|
948
978
|
/**
|
|
949
|
-
* MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
979
|
+
* MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md
|
|
950
980
|
*/
|
|
951
981
|
"link-fragments"?:
|
|
952
982
|
| boolean
|
|
@@ -955,31 +985,43 @@ export interface ConfigurationStrict {
|
|
|
955
985
|
* Ignore case of fragments
|
|
956
986
|
*/
|
|
957
987
|
ignore_case?: boolean;
|
|
988
|
+
/**
|
|
989
|
+
* Pattern for ignoring additional fragments
|
|
990
|
+
*/
|
|
991
|
+
ignored_pattern?: string;
|
|
958
992
|
};
|
|
959
993
|
/**
|
|
960
|
-
* MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
994
|
+
* MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md
|
|
961
995
|
*/
|
|
962
996
|
MD052?:
|
|
963
997
|
| boolean
|
|
964
998
|
| {
|
|
999
|
+
/**
|
|
1000
|
+
* Ignored link labels
|
|
1001
|
+
*/
|
|
1002
|
+
ignored_labels?: string[];
|
|
965
1003
|
/**
|
|
966
1004
|
* Include shortcut syntax
|
|
967
1005
|
*/
|
|
968
1006
|
shortcut_syntax?: boolean;
|
|
969
1007
|
};
|
|
970
1008
|
/**
|
|
971
|
-
* MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1009
|
+
* MD052/reference-links-images : Reference links and images should use a label that is defined : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md052.md
|
|
972
1010
|
*/
|
|
973
1011
|
"reference-links-images"?:
|
|
974
1012
|
| boolean
|
|
975
1013
|
| {
|
|
1014
|
+
/**
|
|
1015
|
+
* Ignored link labels
|
|
1016
|
+
*/
|
|
1017
|
+
ignored_labels?: string[];
|
|
976
1018
|
/**
|
|
977
1019
|
* Include shortcut syntax
|
|
978
1020
|
*/
|
|
979
1021
|
shortcut_syntax?: boolean;
|
|
980
1022
|
};
|
|
981
1023
|
/**
|
|
982
|
-
* MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1024
|
+
* MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md
|
|
983
1025
|
*/
|
|
984
1026
|
MD053?:
|
|
985
1027
|
| boolean
|
|
@@ -990,7 +1032,7 @@ export interface ConfigurationStrict {
|
|
|
990
1032
|
ignored_definitions?: string[];
|
|
991
1033
|
};
|
|
992
1034
|
/**
|
|
993
|
-
* MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1035
|
+
* MD053/link-image-reference-definitions : Link and image reference definitions should be needed : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md053.md
|
|
994
1036
|
*/
|
|
995
1037
|
"link-image-reference-definitions"?:
|
|
996
1038
|
| boolean
|
|
@@ -1001,7 +1043,7 @@ export interface ConfigurationStrict {
|
|
|
1001
1043
|
ignored_definitions?: string[];
|
|
1002
1044
|
};
|
|
1003
1045
|
/**
|
|
1004
|
-
* MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1046
|
+
* MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md
|
|
1005
1047
|
*/
|
|
1006
1048
|
MD054?:
|
|
1007
1049
|
| boolean
|
|
@@ -1032,7 +1074,7 @@ export interface ConfigurationStrict {
|
|
|
1032
1074
|
url_inline?: boolean;
|
|
1033
1075
|
};
|
|
1034
1076
|
/**
|
|
1035
|
-
* MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1077
|
+
* MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md
|
|
1036
1078
|
*/
|
|
1037
1079
|
"link-image-style"?:
|
|
1038
1080
|
| boolean
|
|
@@ -1063,7 +1105,7 @@ export interface ConfigurationStrict {
|
|
|
1063
1105
|
url_inline?: boolean;
|
|
1064
1106
|
};
|
|
1065
1107
|
/**
|
|
1066
|
-
* MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1108
|
+
* MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md
|
|
1067
1109
|
*/
|
|
1068
1110
|
MD055?:
|
|
1069
1111
|
| boolean
|
|
@@ -1074,7 +1116,7 @@ export interface ConfigurationStrict {
|
|
|
1074
1116
|
style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing";
|
|
1075
1117
|
};
|
|
1076
1118
|
/**
|
|
1077
|
-
* MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1119
|
+
* MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md
|
|
1078
1120
|
*/
|
|
1079
1121
|
"table-pipe-style"?:
|
|
1080
1122
|
| boolean
|
|
@@ -1085,21 +1127,43 @@ export interface ConfigurationStrict {
|
|
|
1085
1127
|
style?: "consistent" | "leading_only" | "trailing_only" | "leading_and_trailing" | "no_leading_or_trailing";
|
|
1086
1128
|
};
|
|
1087
1129
|
/**
|
|
1088
|
-
* MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1130
|
+
* MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md
|
|
1089
1131
|
*/
|
|
1090
1132
|
MD056?: boolean;
|
|
1091
1133
|
/**
|
|
1092
|
-
* MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1134
|
+
* MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md
|
|
1093
1135
|
*/
|
|
1094
1136
|
"table-column-count"?: boolean;
|
|
1095
1137
|
/**
|
|
1096
|
-
* MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1138
|
+
* MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md
|
|
1097
1139
|
*/
|
|
1098
1140
|
MD058?: boolean;
|
|
1099
1141
|
/**
|
|
1100
|
-
* MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.
|
|
1142
|
+
* MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md
|
|
1101
1143
|
*/
|
|
1102
1144
|
"blanks-around-tables"?: boolean;
|
|
1145
|
+
/**
|
|
1146
|
+
* MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md
|
|
1147
|
+
*/
|
|
1148
|
+
MD059?:
|
|
1149
|
+
| boolean
|
|
1150
|
+
| {
|
|
1151
|
+
/**
|
|
1152
|
+
* Prohibited link texts
|
|
1153
|
+
*/
|
|
1154
|
+
prohibited_texts?: string[];
|
|
1155
|
+
};
|
|
1156
|
+
/**
|
|
1157
|
+
* MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md
|
|
1158
|
+
*/
|
|
1159
|
+
"descriptive-link-text"?:
|
|
1160
|
+
| boolean
|
|
1161
|
+
| {
|
|
1162
|
+
/**
|
|
1163
|
+
* Prohibited link texts
|
|
1164
|
+
*/
|
|
1165
|
+
prohibited_texts?: string[];
|
|
1166
|
+
};
|
|
1103
1167
|
/**
|
|
1104
1168
|
* headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043
|
|
1105
1169
|
*/
|
|
@@ -1125,7 +1189,7 @@ export interface ConfigurationStrict {
|
|
|
1125
1189
|
*/
|
|
1126
1190
|
hard_tab?: boolean;
|
|
1127
1191
|
/**
|
|
1128
|
-
* links : MD011, MD034, MD039, MD042, MD051, MD052, MD053, MD054
|
|
1192
|
+
* links : MD011, MD034, MD039, MD042, MD051, MD052, MD053, MD054, MD059
|
|
1129
1193
|
*/
|
|
1130
1194
|
links?: boolean;
|
|
1131
1195
|
/**
|
|
@@ -1185,7 +1249,7 @@ export interface ConfigurationStrict {
|
|
|
1185
1249
|
*/
|
|
1186
1250
|
spelling?: boolean;
|
|
1187
1251
|
/**
|
|
1188
|
-
* accessibility : MD045
|
|
1252
|
+
* accessibility : MD045, MD059
|
|
1189
1253
|
*/
|
|
1190
1254
|
accessibility?: boolean;
|
|
1191
1255
|
/**
|