obsidian-dev-utils 42.6.5 → 42.7.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +39 -14
  2. package/README.md +4 -4
  3. package/ScriptUtils/markdownlint/@types/markdownlint-cli2-config-schema/package.json +4 -0
  4. package/ScriptUtils/markdownlint/index/package.json +6 -0
  5. package/ScriptUtils/markdownlint/markdownlint/package.json +6 -0
  6. package/ScriptUtils/markdownlint/markdownlint-cli2-config/package.json +6 -0
  7. package/ScriptUtils/markdownlint/package.json +6 -0
  8. package/dist/.markdownlint-cli2.mjs +5 -0
  9. package/dist/.markdownlint-cli2.mts +6 -0
  10. package/dist/lib/cjs/Library.cjs +1 -1
  11. package/dist/lib/cjs/ScriptUtils/ESLint/eslint.config.cjs +7 -1
  12. package/dist/lib/cjs/ScriptUtils/NodeModules.cjs +3 -1
  13. package/dist/lib/cjs/ScriptUtils/NodeModules.d.cts +1 -1
  14. package/dist/lib/cjs/ScriptUtils/ObsidianDevUtilsRepoPaths.cjs +3 -1
  15. package/dist/lib/cjs/ScriptUtils/ObsidianDevUtilsRepoPaths.d.cts +4 -0
  16. package/dist/lib/cjs/ScriptUtils/cli.cjs +4 -1
  17. package/dist/lib/cjs/ScriptUtils/index.cjs +4 -1
  18. package/dist/lib/cjs/ScriptUtils/index.d.cts +1 -0
  19. package/dist/lib/cjs/ScriptUtils/markdownlint/@types/markdownlint-cli2-config-schema.d.cts +1343 -0
  20. package/dist/lib/cjs/ScriptUtils/markdownlint/index.cjs +49 -0
  21. package/dist/lib/cjs/ScriptUtils/markdownlint/index.d.cts +2 -0
  22. package/dist/lib/cjs/ScriptUtils/markdownlint/markdownlint-cli2-config.cjs +72 -0
  23. package/dist/lib/cjs/ScriptUtils/markdownlint/markdownlint-cli2-config.d.cts +10 -0
  24. package/dist/lib/cjs/ScriptUtils/markdownlint/markdownlint.cjs +109 -0
  25. package/dist/lib/cjs/ScriptUtils/markdownlint/markdownlint.d.cts +11 -0
  26. package/dist/lib/cjs/ScriptUtils/version.cjs +2 -1
  27. package/dist/lib/cjs/obsidian/Components/SettingComponents/CodeHighlighterComponent.cjs +11 -11
  28. package/dist/lib/cjs/obsidian/Plugin/ObsidianPluginRepoPaths.cjs +12 -1
  29. package/dist/lib/cjs/obsidian/Plugin/ObsidianPluginRepoPaths.d.cts +22 -0
  30. package/dist/lib/esm/Library.mjs +1 -1
  31. package/dist/lib/esm/ScriptUtils/ESLint/eslint.config.mjs +7 -1
  32. package/dist/lib/esm/ScriptUtils/NodeModules.d.mts +1 -1
  33. package/dist/lib/esm/ScriptUtils/NodeModules.mjs +3 -1
  34. package/dist/lib/esm/ScriptUtils/ObsidianDevUtilsRepoPaths.d.mts +4 -0
  35. package/dist/lib/esm/ScriptUtils/ObsidianDevUtilsRepoPaths.mjs +3 -1
  36. package/dist/lib/esm/ScriptUtils/cli.mjs +4 -1
  37. package/dist/lib/esm/ScriptUtils/index.d.mts +1 -0
  38. package/dist/lib/esm/ScriptUtils/index.mjs +3 -1
  39. package/dist/lib/esm/ScriptUtils/markdownlint/@types/markdownlint-cli2-config-schema.d.mts +1343 -0
  40. package/dist/lib/esm/ScriptUtils/markdownlint/index.d.mts +2 -0
  41. package/dist/lib/esm/ScriptUtils/markdownlint/index.mjs +14 -0
  42. package/dist/lib/esm/ScriptUtils/markdownlint/markdownlint-cli2-config.d.mts +10 -0
  43. package/dist/lib/esm/ScriptUtils/markdownlint/markdownlint-cli2-config.mjs +38 -0
  44. package/dist/lib/esm/ScriptUtils/markdownlint/markdownlint.d.mts +11 -0
  45. package/dist/lib/esm/ScriptUtils/markdownlint/markdownlint.mjs +85 -0
  46. package/dist/lib/esm/ScriptUtils/version.mjs +2 -1
  47. package/dist/lib/esm/obsidian/Components/SettingComponents/CodeHighlighterComponent.mjs +11 -11
  48. package/dist/lib/esm/obsidian/Plugin/ObsidianPluginRepoPaths.d.mts +22 -0
  49. package/dist/lib/esm/obsidian/Plugin/ObsidianPluginRepoPaths.mjs +12 -1
  50. package/package.json +40 -5
@@ -0,0 +1,1343 @@
1
+ /**
2
+ * @packageDocumentation
3
+ *
4
+ * Typescript equivalent of the markdownlint-cli2 configuration schema.
5
+ */
6
+
7
+ import { Rule } from 'markdownlint';
8
+
9
+ /**
10
+ * Markdownlint-cli2 configuration schema : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/schema/markdownlint-cli2-config-schema.json
11
+ */
12
+ export interface MarkdownlintCli2ConfigurationSchema {
13
+ /**
14
+ * JSON Schema URI (expected by some editors)
15
+ */
16
+ $schema?: string;
17
+ /**
18
+ * Markdownlint configuration schema : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/schema/.markdownlint.jsonc
19
+ */
20
+ config?: MarkdownlintConfigurationSchema;
21
+ /**
22
+ * Module names or paths of custom rules to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
23
+ */
24
+ customRules?: (Rule | string)[];
25
+ /**
26
+ * Whether to enable fixing of linting errors reported by rules that emit fix information : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
27
+ */
28
+ fix?: boolean;
29
+ /**
30
+ * Regular expression used to match and ignore any front matter at the beginning of a document : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
31
+ */
32
+ frontMatter?: string;
33
+ /**
34
+ * Whether to ignore files referenced by .gitignore (or glob expression) (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
35
+ */
36
+ gitignore?: boolean | string;
37
+ /**
38
+ * Glob expressions to include when linting (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
39
+ */
40
+ globs?: string[];
41
+ /**
42
+ * Glob expressions to ignore when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
43
+ */
44
+ ignores?: string[];
45
+ /**
46
+ * Markdown-it plugins to load and use when linting : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
47
+ */
48
+ markdownItPlugins?:
49
+ | [
50
+ string,
51
+ Record<string, unknown>
52
+ ][]
53
+ | [string];
54
+ /**
55
+ * Additional paths to resolve module locations from : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
56
+ */
57
+ modulePaths?: string[];
58
+ /**
59
+ * Whether to disable the display of the banner message and version numbers on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
60
+ */
61
+ noBanner?: boolean;
62
+ /**
63
+ * Whether to disable support of HTML comments within Markdown content : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
64
+ */
65
+ noInlineConfig?: boolean;
66
+ /**
67
+ * Whether to disable the display of progress on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
68
+ */
69
+ noProgress?: boolean;
70
+ /**
71
+ * Output formatters to load and use to customize markdownlint-cli2 output (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
72
+ */
73
+ outputFormatters?:
74
+ | [
75
+ string,
76
+ Record<string, unknown>
77
+ ][]
78
+ | [string];
79
+ /**
80
+ * Whether to show the list of found files on stdout (only valid at the root) : https://github.com/DavidAnson/markdownlint-cli2/blob/v0.18.1/README.md#markdownlint-cli2jsonc
81
+ */
82
+ showFound?: boolean;
83
+ }
84
+ /**
85
+ * Markdownlint configuration schema : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/schema/.markdownlint.jsonc
86
+ */
87
+ export interface MarkdownlintConfigurationSchema {
88
+ [k: string]: unknown;
89
+ /**
90
+ * JSON Schema URI (expected by some editors)
91
+ */
92
+ '$schema'?: string;
93
+ /**
94
+ * Accessibility : MD045, MD059
95
+ */
96
+ 'accessibility'?: boolean;
97
+ /**
98
+ * Atx : MD018, MD019
99
+ */
100
+ 'atx'?: boolean;
101
+ /**
102
+ * Atx_closed : MD020, MD021
103
+ */
104
+ 'atx_closed'?: boolean;
105
+ /**
106
+ * Blank_lines : MD012, MD022, MD031, MD032, MD047
107
+ */
108
+ 'blank_lines'?: boolean;
109
+ /**
110
+ * 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
111
+ */
112
+ 'blanks-around-fences'?:
113
+ | {
114
+ /**
115
+ * Include list items
116
+ */
117
+ list_items?: boolean;
118
+ }
119
+ | boolean;
120
+ /**
121
+ * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md
122
+ */
123
+ 'blanks-around-headings'?:
124
+ | {
125
+ /**
126
+ * Blank lines above heading
127
+ */
128
+ lines_above?: number | number[];
129
+ /**
130
+ * Blank lines below heading
131
+ */
132
+ lines_below?: number | number[];
133
+ }
134
+ | boolean;
135
+ /**
136
+ * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md
137
+ */
138
+ 'blanks-around-lists'?: boolean;
139
+ /**
140
+ * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md
141
+ */
142
+ 'blanks-around-tables'?: boolean;
143
+ /**
144
+ * Blockquote : MD027, MD028
145
+ */
146
+ 'blockquote'?: boolean;
147
+ /**
148
+ * Bullet : MD004, MD005, MD007, MD032
149
+ */
150
+ 'bullet'?: boolean;
151
+ /**
152
+ * Code : MD014, MD031, MD038, MD040, MD046, MD048
153
+ */
154
+ 'code'?: boolean;
155
+ /**
156
+ * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md
157
+ */
158
+ 'code-block-style'?:
159
+ | {
160
+ /**
161
+ * Block style
162
+ */
163
+ style?: 'consistent' | 'fenced' | 'indented';
164
+ }
165
+ | boolean;
166
+ /**
167
+ * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md
168
+ */
169
+ 'code-fence-style'?:
170
+ | {
171
+ /**
172
+ * Code fence style
173
+ */
174
+ style?: 'backtick' | 'consistent' | 'tilde';
175
+ }
176
+ | boolean;
177
+ /**
178
+ * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md
179
+ */
180
+ 'commands-show-output'?: boolean;
181
+ /**
182
+ * Default state for all rules
183
+ */
184
+ 'default'?: boolean;
185
+ /**
186
+ * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md
187
+ */
188
+ 'descriptive-link-text'?:
189
+ | {
190
+ /**
191
+ * Prohibited link texts
192
+ */
193
+ prohibited_texts?: string[];
194
+ }
195
+ | boolean;
196
+ /**
197
+ * Emphasis : MD036, MD037, MD049, MD050
198
+ */
199
+ 'emphasis'?: boolean;
200
+ /**
201
+ * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md
202
+ */
203
+ 'emphasis-style'?:
204
+ | {
205
+ /**
206
+ * Emphasis style
207
+ */
208
+ style?: 'asterisk' | 'consistent' | 'underscore';
209
+ }
210
+ | boolean;
211
+ /**
212
+ * Path to configuration file to extend
213
+ */
214
+ 'extends'?: null | string;
215
+ /**
216
+ * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md
217
+ */
218
+ 'fenced-code-language'?:
219
+ | {
220
+ /**
221
+ * List of languages
222
+ */
223
+ allowed_languages?: string[];
224
+ /**
225
+ * Require language only
226
+ */
227
+ language_only?: boolean;
228
+ }
229
+ | boolean;
230
+ /**
231
+ * 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
232
+ */
233
+ 'first-line-h1'?:
234
+ | {
235
+ /**
236
+ * Allow content before first heading
237
+ */
238
+ allow_preamble?: boolean;
239
+ /**
240
+ * RegExp for matching title in front matter
241
+ */
242
+ front_matter_title?: string;
243
+ /**
244
+ * Heading level
245
+ */
246
+ level?: number;
247
+ }
248
+ | boolean;
249
+ /**
250
+ * 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
251
+ */
252
+ 'first-line-heading'?:
253
+ | {
254
+ /**
255
+ * Allow content before first heading
256
+ */
257
+ allow_preamble?: boolean;
258
+ /**
259
+ * RegExp for matching title in front matter
260
+ */
261
+ front_matter_title?: string;
262
+ /**
263
+ * Heading level
264
+ */
265
+ level?: number;
266
+ }
267
+ | boolean;
268
+ /**
269
+ * Hard_tab : MD010
270
+ */
271
+ 'hard_tab'?: boolean;
272
+ /**
273
+ * 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
274
+ */
275
+ 'heading-increment'?: boolean;
276
+ /**
277
+ * 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
278
+ */
279
+ 'heading-start-left'?: boolean;
280
+ /**
281
+ * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md
282
+ */
283
+ 'heading-style'?:
284
+ | {
285
+ /**
286
+ * Heading style
287
+ */
288
+ style?: 'atx_closed' | 'atx' | 'consistent' | 'setext_with_atx_closed' | 'setext_with_atx' | 'setext';
289
+ }
290
+ | boolean;
291
+ /**
292
+ * Headings : MD001, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043
293
+ */
294
+ 'headings'?: boolean;
295
+ /**
296
+ * Hr : MD035
297
+ */
298
+ 'hr'?: boolean;
299
+ /**
300
+ * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md
301
+ */
302
+ 'hr-style'?:
303
+ | {
304
+ /**
305
+ * Horizontal rule style
306
+ */
307
+ style?: string;
308
+ }
309
+ | boolean;
310
+ /**
311
+ * Html : MD033
312
+ */
313
+ 'html'?: boolean;
314
+ /**
315
+ * Images : MD045, MD052, MD053, MD054
316
+ */
317
+ 'images'?: boolean;
318
+ /**
319
+ * Indentation : MD005, MD007, MD027
320
+ */
321
+ 'indentation'?: boolean;
322
+ /**
323
+ * Language : MD040
324
+ */
325
+ 'language'?: boolean;
326
+ /**
327
+ * Line_length : MD013
328
+ */
329
+ 'line_length'?: boolean;
330
+ /**
331
+ * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md
332
+ */
333
+ 'line-length'?:
334
+ | {
335
+ /**
336
+ * Number of characters for code blocks
337
+ */
338
+ code_block_line_length?: number;
339
+ /**
340
+ * Include code blocks
341
+ */
342
+ code_blocks?: boolean;
343
+ /**
344
+ * Number of characters for headings
345
+ */
346
+ heading_line_length?: number;
347
+ /**
348
+ * Include headings
349
+ */
350
+ headings?: boolean;
351
+ /**
352
+ * Number of characters
353
+ */
354
+ line_length?: number;
355
+ /**
356
+ * Stern length checking
357
+ */
358
+ stern?: boolean;
359
+ /**
360
+ * Strict length checking
361
+ */
362
+ strict?: boolean;
363
+ /**
364
+ * Include tables
365
+ */
366
+ tables?: boolean;
367
+ }
368
+ | boolean;
369
+ /**
370
+ * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md
371
+ */
372
+ 'link-fragments'?:
373
+ | {
374
+ /**
375
+ * Ignore case of fragments
376
+ */
377
+ ignore_case?: boolean;
378
+ /**
379
+ * Pattern for ignoring additional fragments
380
+ */
381
+ ignored_pattern?: string;
382
+ }
383
+ | boolean;
384
+ /**
385
+ * 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
386
+ */
387
+ 'link-image-reference-definitions'?:
388
+ | {
389
+ /**
390
+ * Ignored definitions
391
+ */
392
+ ignored_definitions?: string[];
393
+ }
394
+ | boolean;
395
+ /**
396
+ * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md
397
+ */
398
+ 'link-image-style'?:
399
+ | {
400
+ /**
401
+ * Allow autolinks
402
+ */
403
+ autolink?: boolean;
404
+ /**
405
+ * Allow collapsed reference links and images
406
+ */
407
+ collapsed?: boolean;
408
+ /**
409
+ * Allow full reference links and images
410
+ */
411
+ full?: boolean;
412
+ /**
413
+ * Allow inline links and images
414
+ */
415
+ inline?: boolean;
416
+ /**
417
+ * Allow shortcut reference links and images
418
+ */
419
+ shortcut?: boolean;
420
+ /**
421
+ * Allow URLs as inline links
422
+ */
423
+ url_inline?: boolean;
424
+ }
425
+ | boolean;
426
+ /**
427
+ * Links : MD011, MD034, MD039, MD042, MD051, MD052, MD053, MD054, MD059
428
+ */
429
+ 'links'?: boolean;
430
+ /**
431
+ * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md
432
+ */
433
+ 'list-indent'?: boolean;
434
+ /**
435
+ * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md
436
+ */
437
+ 'list-marker-space'?:
438
+ | {
439
+ /**
440
+ * Spaces for multi-line ordered list items
441
+ */
442
+ ol_multi?: number;
443
+ /**
444
+ * Spaces for single-line ordered list items
445
+ */
446
+ ol_single?: number;
447
+ /**
448
+ * Spaces for multi-line unordered list items
449
+ */
450
+ ul_multi?: number;
451
+ /**
452
+ * Spaces for single-line unordered list items
453
+ */
454
+ ul_single?: number;
455
+ }
456
+ | boolean;
457
+ /**
458
+ * 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
459
+ */
460
+ 'MD001'?: boolean;
461
+ /**
462
+ * MD003/heading-style : Heading style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md003.md
463
+ */
464
+ 'MD003'?:
465
+ | {
466
+ /**
467
+ * Heading style
468
+ */
469
+ style?: 'atx_closed' | 'atx' | 'consistent' | 'setext_with_atx_closed' | 'setext_with_atx' | 'setext';
470
+ }
471
+ | boolean;
472
+ /**
473
+ * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md
474
+ */
475
+ 'MD004'?:
476
+ | {
477
+ /**
478
+ * List style
479
+ */
480
+ style?: 'asterisk' | 'consistent' | 'dash' | 'plus' | 'sublist';
481
+ }
482
+ | boolean;
483
+ /**
484
+ * MD005/list-indent : Inconsistent indentation for list items at the same level : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md005.md
485
+ */
486
+ 'MD005'?: boolean;
487
+ /**
488
+ * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md
489
+ */
490
+ 'MD007'?:
491
+ | {
492
+ /**
493
+ * Spaces for indent
494
+ */
495
+ indent?: number;
496
+ /**
497
+ * Spaces for first level indent (when start_indented is set)
498
+ */
499
+ start_indent?: number;
500
+ /**
501
+ * Whether to indent the first level of the list
502
+ */
503
+ start_indented?: boolean;
504
+ }
505
+ | boolean;
506
+ /**
507
+ * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md
508
+ */
509
+ 'MD009'?:
510
+ | {
511
+ /**
512
+ * Spaces for line break
513
+ */
514
+ br_spaces?: number;
515
+ /**
516
+ * Allow spaces for empty lines in list items
517
+ */
518
+ list_item_empty_lines?: boolean;
519
+ /**
520
+ * Include unnecessary breaks
521
+ */
522
+ strict?: boolean;
523
+ }
524
+ | boolean;
525
+ /**
526
+ * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md
527
+ */
528
+ 'MD010'?:
529
+ | {
530
+ /**
531
+ * Include code blocks
532
+ */
533
+ code_blocks?: boolean;
534
+ /**
535
+ * Fenced code languages to ignore
536
+ */
537
+ ignore_code_languages?: string[];
538
+ /**
539
+ * Number of spaces for each hard tab
540
+ */
541
+ spaces_per_tab?: number;
542
+ }
543
+ | boolean;
544
+ /**
545
+ * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md
546
+ */
547
+ 'MD011'?: boolean;
548
+ /**
549
+ * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md
550
+ */
551
+ 'MD012'?:
552
+ | {
553
+ /**
554
+ * Consecutive blank lines
555
+ */
556
+ maximum?: number;
557
+ }
558
+ | boolean;
559
+ /**
560
+ * MD013/line-length : Line length : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md013.md
561
+ */
562
+ 'MD013'?:
563
+ | {
564
+ /**
565
+ * Number of characters for code blocks
566
+ */
567
+ code_block_line_length?: number;
568
+ /**
569
+ * Include code blocks
570
+ */
571
+ code_blocks?: boolean;
572
+ /**
573
+ * Number of characters for headings
574
+ */
575
+ heading_line_length?: number;
576
+ /**
577
+ * Include headings
578
+ */
579
+ headings?: boolean;
580
+ /**
581
+ * Number of characters
582
+ */
583
+ line_length?: number;
584
+ /**
585
+ * Stern length checking
586
+ */
587
+ stern?: boolean;
588
+ /**
589
+ * Strict length checking
590
+ */
591
+ strict?: boolean;
592
+ /**
593
+ * Include tables
594
+ */
595
+ tables?: boolean;
596
+ }
597
+ | boolean;
598
+ /**
599
+ * MD014/commands-show-output : Dollar signs used before commands without showing output : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md014.md
600
+ */
601
+ 'MD014'?: boolean;
602
+ /**
603
+ * 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
604
+ */
605
+ 'MD018'?: boolean;
606
+ /**
607
+ * 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
608
+ */
609
+ 'MD019'?: boolean;
610
+ /**
611
+ * 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
612
+ */
613
+ 'MD020'?: boolean;
614
+ /**
615
+ * 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
616
+ */
617
+ 'MD021'?: boolean;
618
+ /**
619
+ * MD022/blanks-around-headings : Headings should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md022.md
620
+ */
621
+ 'MD022'?:
622
+ | {
623
+ /**
624
+ * Blank lines above heading
625
+ */
626
+ lines_above?: number | number[];
627
+ /**
628
+ * Blank lines below heading
629
+ */
630
+ lines_below?: number | number[];
631
+ }
632
+ | boolean;
633
+ /**
634
+ * 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
635
+ */
636
+ 'MD023'?: boolean;
637
+ /**
638
+ * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md
639
+ */
640
+ 'MD024'?:
641
+ | {
642
+ /**
643
+ * Only check sibling headings
644
+ */
645
+ siblings_only?: boolean;
646
+ }
647
+ | boolean;
648
+ /**
649
+ * 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
650
+ */
651
+ 'MD025'?:
652
+ | {
653
+ /**
654
+ * RegExp for matching title in front matter
655
+ */
656
+ front_matter_title?: string;
657
+ /**
658
+ * Heading level
659
+ */
660
+ level?: number;
661
+ }
662
+ | boolean;
663
+ /**
664
+ * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md
665
+ */
666
+ 'MD026'?:
667
+ | {
668
+ /**
669
+ * Punctuation characters
670
+ */
671
+ punctuation?: string;
672
+ }
673
+ | boolean;
674
+ /**
675
+ * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md
676
+ */
677
+ 'MD027'?:
678
+ | {
679
+ /**
680
+ * Include list items
681
+ */
682
+ list_items?: boolean;
683
+ }
684
+ | boolean;
685
+ /**
686
+ * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md
687
+ */
688
+ 'MD028'?: boolean;
689
+ /**
690
+ * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md
691
+ */
692
+ 'MD029'?:
693
+ | {
694
+ /**
695
+ * List style
696
+ */
697
+ style?: 'one_or_ordered' | 'one' | 'ordered' | 'zero';
698
+ }
699
+ | boolean;
700
+ /**
701
+ * MD030/list-marker-space : Spaces after list markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md030.md
702
+ */
703
+ 'MD030'?:
704
+ | {
705
+ /**
706
+ * Spaces for multi-line ordered list items
707
+ */
708
+ ol_multi?: number;
709
+ /**
710
+ * Spaces for single-line ordered list items
711
+ */
712
+ ol_single?: number;
713
+ /**
714
+ * Spaces for multi-line unordered list items
715
+ */
716
+ ul_multi?: number;
717
+ /**
718
+ * Spaces for single-line unordered list items
719
+ */
720
+ ul_single?: number;
721
+ }
722
+ | boolean;
723
+ /**
724
+ * 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
725
+ */
726
+ 'MD031'?:
727
+ | {
728
+ /**
729
+ * Include list items
730
+ */
731
+ list_items?: boolean;
732
+ }
733
+ | boolean;
734
+ /**
735
+ * MD032/blanks-around-lists : Lists should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md032.md
736
+ */
737
+ 'MD032'?: boolean;
738
+ /**
739
+ * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md
740
+ */
741
+ 'MD033'?:
742
+ | {
743
+ /**
744
+ * Allowed elements
745
+ */
746
+ allowed_elements?: string[];
747
+ }
748
+ | boolean;
749
+ /**
750
+ * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md
751
+ */
752
+ 'MD034'?: boolean;
753
+ /**
754
+ * MD035/hr-style : Horizontal rule style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md035.md
755
+ */
756
+ 'MD035'?:
757
+ | {
758
+ /**
759
+ * Horizontal rule style
760
+ */
761
+ style?: string;
762
+ }
763
+ | boolean;
764
+ /**
765
+ * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md
766
+ */
767
+ 'MD036'?:
768
+ | {
769
+ /**
770
+ * Punctuation characters
771
+ */
772
+ punctuation?: string;
773
+ }
774
+ | boolean;
775
+ /**
776
+ * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md
777
+ */
778
+ 'MD037'?: boolean;
779
+ /**
780
+ * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md
781
+ */
782
+ 'MD038'?: boolean;
783
+ /**
784
+ * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md
785
+ */
786
+ 'MD039'?: boolean;
787
+ /**
788
+ * MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md040.md
789
+ */
790
+ 'MD040'?:
791
+ | {
792
+ /**
793
+ * List of languages
794
+ */
795
+ allowed_languages?: string[];
796
+ /**
797
+ * Require language only
798
+ */
799
+ language_only?: boolean;
800
+ }
801
+ | boolean;
802
+ /**
803
+ * 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
804
+ */
805
+ 'MD041'?:
806
+ | {
807
+ /**
808
+ * Allow content before first heading
809
+ */
810
+ allow_preamble?: boolean;
811
+ /**
812
+ * RegExp for matching title in front matter
813
+ */
814
+ front_matter_title?: string;
815
+ /**
816
+ * Heading level
817
+ */
818
+ level?: number;
819
+ }
820
+ | boolean;
821
+ /**
822
+ * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md
823
+ */
824
+ 'MD042'?: boolean;
825
+ /**
826
+ * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md
827
+ */
828
+ 'MD043'?:
829
+ | {
830
+ /**
831
+ * List of headings
832
+ */
833
+ headings?: string[];
834
+ /**
835
+ * Match case of headings
836
+ */
837
+ match_case?: boolean;
838
+ }
839
+ | boolean;
840
+ /**
841
+ * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md
842
+ */
843
+ 'MD044'?:
844
+ | {
845
+ /**
846
+ * Include code blocks
847
+ */
848
+ code_blocks?: boolean;
849
+ /**
850
+ * Include HTML elements
851
+ */
852
+ html_elements?: boolean;
853
+ /**
854
+ * List of proper names
855
+ */
856
+ names?: string[];
857
+ }
858
+ | boolean;
859
+ /**
860
+ * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md
861
+ */
862
+ 'MD045'?: boolean;
863
+ /**
864
+ * MD046/code-block-style : Code block style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md046.md
865
+ */
866
+ 'MD046'?:
867
+ | {
868
+ /**
869
+ * Block style
870
+ */
871
+ style?: 'consistent' | 'fenced' | 'indented';
872
+ }
873
+ | boolean;
874
+ /**
875
+ * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md
876
+ */
877
+ 'MD047'?: boolean;
878
+ /**
879
+ * MD048/code-fence-style : Code fence style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md048.md
880
+ */
881
+ 'MD048'?:
882
+ | {
883
+ /**
884
+ * Code fence style
885
+ */
886
+ style?: 'backtick' | 'consistent' | 'tilde';
887
+ }
888
+ | boolean;
889
+ /**
890
+ * MD049/emphasis-style : Emphasis style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md049.md
891
+ */
892
+ 'MD049'?:
893
+ | {
894
+ /**
895
+ * Emphasis style
896
+ */
897
+ style?: 'asterisk' | 'consistent' | 'underscore';
898
+ }
899
+ | boolean;
900
+ /**
901
+ * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md
902
+ */
903
+ 'MD050'?:
904
+ | {
905
+ /**
906
+ * Strong style
907
+ */
908
+ style?: 'asterisk' | 'consistent' | 'underscore';
909
+ }
910
+ | boolean;
911
+ /**
912
+ * MD051/link-fragments : Link fragments should be valid : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md051.md
913
+ */
914
+ 'MD051'?:
915
+ | {
916
+ /**
917
+ * Ignore case of fragments
918
+ */
919
+ ignore_case?: boolean;
920
+ /**
921
+ * Pattern for ignoring additional fragments
922
+ */
923
+ ignored_pattern?: string;
924
+ }
925
+ | boolean;
926
+ /**
927
+ * 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
928
+ */
929
+ 'MD052'?:
930
+ | {
931
+ /**
932
+ * Ignored link labels
933
+ */
934
+ ignored_labels?: string[];
935
+ /**
936
+ * Include shortcut syntax
937
+ */
938
+ shortcut_syntax?: boolean;
939
+ }
940
+ | boolean;
941
+ /**
942
+ * 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
943
+ */
944
+ 'MD053'?:
945
+ | {
946
+ /**
947
+ * Ignored definitions
948
+ */
949
+ ignored_definitions?: string[];
950
+ }
951
+ | boolean;
952
+ /**
953
+ * MD054/link-image-style : Link and image style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md054.md
954
+ */
955
+ 'MD054'?:
956
+ | {
957
+ /**
958
+ * Allow autolinks
959
+ */
960
+ autolink?: boolean;
961
+ /**
962
+ * Allow collapsed reference links and images
963
+ */
964
+ collapsed?: boolean;
965
+ /**
966
+ * Allow full reference links and images
967
+ */
968
+ full?: boolean;
969
+ /**
970
+ * Allow inline links and images
971
+ */
972
+ inline?: boolean;
973
+ /**
974
+ * Allow shortcut reference links and images
975
+ */
976
+ shortcut?: boolean;
977
+ /**
978
+ * Allow URLs as inline links
979
+ */
980
+ url_inline?: boolean;
981
+ }
982
+ | boolean;
983
+ /**
984
+ * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md
985
+ */
986
+ 'MD055'?:
987
+ | {
988
+ /**
989
+ * Table pipe style
990
+ */
991
+ style?: 'consistent' | 'leading_and_trailing' | 'leading_only' | 'no_leading_or_trailing' | 'trailing_only';
992
+ }
993
+ | boolean;
994
+ /**
995
+ * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md
996
+ */
997
+ 'MD056'?: boolean;
998
+ /**
999
+ * MD058/blanks-around-tables : Tables should be surrounded by blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md058.md
1000
+ */
1001
+ 'MD058'?: boolean;
1002
+ /**
1003
+ * MD059/descriptive-link-text : Link text should be descriptive : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md059.md
1004
+ */
1005
+ 'MD059'?:
1006
+ | {
1007
+ /**
1008
+ * Prohibited link texts
1009
+ */
1010
+ prohibited_texts?: string[];
1011
+ }
1012
+ | boolean;
1013
+ /**
1014
+ * MD045/no-alt-text : Images should have alternate text (alt text) : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md045.md
1015
+ */
1016
+ 'no-alt-text'?: boolean;
1017
+ /**
1018
+ * MD034/no-bare-urls : Bare URL used : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md034.md
1019
+ */
1020
+ 'no-bare-urls'?: boolean;
1021
+ /**
1022
+ * MD028/no-blanks-blockquote : Blank line inside blockquote : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md028.md
1023
+ */
1024
+ 'no-blanks-blockquote'?: boolean;
1025
+ /**
1026
+ * MD024/no-duplicate-heading : Multiple headings with the same content : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md024.md
1027
+ */
1028
+ 'no-duplicate-heading'?:
1029
+ | {
1030
+ /**
1031
+ * Only check sibling headings
1032
+ */
1033
+ siblings_only?: boolean;
1034
+ }
1035
+ | boolean;
1036
+ /**
1037
+ * MD036/no-emphasis-as-heading : Emphasis used instead of a heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md036.md
1038
+ */
1039
+ 'no-emphasis-as-heading'?:
1040
+ | {
1041
+ /**
1042
+ * Punctuation characters
1043
+ */
1044
+ punctuation?: string;
1045
+ }
1046
+ | boolean;
1047
+ /**
1048
+ * MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md042.md
1049
+ */
1050
+ 'no-empty-links'?: boolean;
1051
+ /**
1052
+ * MD010/no-hard-tabs : Hard tabs : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md010.md
1053
+ */
1054
+ 'no-hard-tabs'?:
1055
+ | {
1056
+ /**
1057
+ * Include code blocks
1058
+ */
1059
+ code_blocks?: boolean;
1060
+ /**
1061
+ * Fenced code languages to ignore
1062
+ */
1063
+ ignore_code_languages?: string[];
1064
+ /**
1065
+ * Number of spaces for each hard tab
1066
+ */
1067
+ spaces_per_tab?: number;
1068
+ }
1069
+ | boolean;
1070
+ /**
1071
+ * MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md033.md
1072
+ */
1073
+ 'no-inline-html'?:
1074
+ | {
1075
+ /**
1076
+ * Allowed elements
1077
+ */
1078
+ allowed_elements?: string[];
1079
+ }
1080
+ | boolean;
1081
+ /**
1082
+ * 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
1083
+ */
1084
+ 'no-missing-space-atx'?: boolean;
1085
+ /**
1086
+ * 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
1087
+ */
1088
+ 'no-missing-space-closed-atx'?: boolean;
1089
+ /**
1090
+ * MD012/no-multiple-blanks : Multiple consecutive blank lines : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md012.md
1091
+ */
1092
+ 'no-multiple-blanks'?:
1093
+ | {
1094
+ /**
1095
+ * Consecutive blank lines
1096
+ */
1097
+ maximum?: number;
1098
+ }
1099
+ | boolean;
1100
+ /**
1101
+ * 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
1102
+ */
1103
+ 'no-multiple-space-atx'?: boolean;
1104
+ /**
1105
+ * MD027/no-multiple-space-blockquote : Multiple spaces after blockquote symbol : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md027.md
1106
+ */
1107
+ 'no-multiple-space-blockquote'?:
1108
+ | {
1109
+ /**
1110
+ * Include list items
1111
+ */
1112
+ list_items?: boolean;
1113
+ }
1114
+ | boolean;
1115
+ /**
1116
+ * 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
1117
+ */
1118
+ 'no-multiple-space-closed-atx'?: boolean;
1119
+ /**
1120
+ * MD011/no-reversed-links : Reversed link syntax : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md011.md
1121
+ */
1122
+ 'no-reversed-links'?: boolean;
1123
+ /**
1124
+ * MD038/no-space-in-code : Spaces inside code span elements : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md038.md
1125
+ */
1126
+ 'no-space-in-code'?: boolean;
1127
+ /**
1128
+ * MD037/no-space-in-emphasis : Spaces inside emphasis markers : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md037.md
1129
+ */
1130
+ 'no-space-in-emphasis'?: boolean;
1131
+ /**
1132
+ * MD039/no-space-in-links : Spaces inside link text : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md039.md
1133
+ */
1134
+ 'no-space-in-links'?: boolean;
1135
+ /**
1136
+ * MD026/no-trailing-punctuation : Trailing punctuation in heading : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md026.md
1137
+ */
1138
+ 'no-trailing-punctuation'?:
1139
+ | {
1140
+ /**
1141
+ * Punctuation characters
1142
+ */
1143
+ punctuation?: string;
1144
+ }
1145
+ | boolean;
1146
+ /**
1147
+ * MD009/no-trailing-spaces : Trailing spaces : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md009.md
1148
+ */
1149
+ 'no-trailing-spaces'?:
1150
+ | {
1151
+ /**
1152
+ * Spaces for line break
1153
+ */
1154
+ br_spaces?: number;
1155
+ /**
1156
+ * Allow spaces for empty lines in list items
1157
+ */
1158
+ list_item_empty_lines?: boolean;
1159
+ /**
1160
+ * Include unnecessary breaks
1161
+ */
1162
+ strict?: boolean;
1163
+ }
1164
+ | boolean;
1165
+ /**
1166
+ * Ol : MD029, MD030, MD032
1167
+ */
1168
+ 'ol'?: boolean;
1169
+ /**
1170
+ * MD029/ol-prefix : Ordered list item prefix : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md029.md
1171
+ */
1172
+ 'ol-prefix'?:
1173
+ | {
1174
+ /**
1175
+ * List style
1176
+ */
1177
+ style?: 'one_or_ordered' | 'one' | 'ordered' | 'zero';
1178
+ }
1179
+ | boolean;
1180
+ /**
1181
+ * MD044/proper-names : Proper names should have the correct capitalization : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md044.md
1182
+ */
1183
+ 'proper-names'?:
1184
+ | {
1185
+ /**
1186
+ * Include code blocks
1187
+ */
1188
+ code_blocks?: boolean;
1189
+ /**
1190
+ * Include HTML elements
1191
+ */
1192
+ html_elements?: boolean;
1193
+ /**
1194
+ * List of proper names
1195
+ */
1196
+ names?: string[];
1197
+ }
1198
+ | boolean;
1199
+ /**
1200
+ * 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
1201
+ */
1202
+ 'reference-links-images'?:
1203
+ | {
1204
+ /**
1205
+ * Ignored link labels
1206
+ */
1207
+ ignored_labels?: string[];
1208
+ /**
1209
+ * Include shortcut syntax
1210
+ */
1211
+ shortcut_syntax?: boolean;
1212
+ }
1213
+ | boolean;
1214
+ /**
1215
+ * MD043/required-headings : Required heading structure : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md043.md
1216
+ */
1217
+ 'required-headings'?:
1218
+ | {
1219
+ /**
1220
+ * List of headings
1221
+ */
1222
+ headings?: string[];
1223
+ /**
1224
+ * Match case of headings
1225
+ */
1226
+ match_case?: boolean;
1227
+ }
1228
+ | boolean;
1229
+ /**
1230
+ * 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
1231
+ */
1232
+ 'single-h1'?:
1233
+ | {
1234
+ /**
1235
+ * RegExp for matching title in front matter
1236
+ */
1237
+ front_matter_title?: string;
1238
+ /**
1239
+ * Heading level
1240
+ */
1241
+ level?: number;
1242
+ }
1243
+ | boolean;
1244
+ /**
1245
+ * 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
1246
+ */
1247
+ 'single-title'?:
1248
+ | {
1249
+ /**
1250
+ * RegExp for matching title in front matter
1251
+ */
1252
+ front_matter_title?: string;
1253
+ /**
1254
+ * Heading level
1255
+ */
1256
+ level?: number;
1257
+ }
1258
+ | boolean;
1259
+ /**
1260
+ * MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md047.md
1261
+ */
1262
+ 'single-trailing-newline'?: boolean;
1263
+ /**
1264
+ * Spaces : MD018, MD019, MD020, MD021, MD023
1265
+ */
1266
+ 'spaces'?: boolean;
1267
+ /**
1268
+ * Spelling : MD044
1269
+ */
1270
+ 'spelling'?: boolean;
1271
+ /**
1272
+ * MD050/strong-style : Strong style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md050.md
1273
+ */
1274
+ 'strong-style'?:
1275
+ | {
1276
+ /**
1277
+ * Strong style
1278
+ */
1279
+ style?: 'asterisk' | 'consistent' | 'underscore';
1280
+ }
1281
+ | boolean;
1282
+ /**
1283
+ * Table : MD055, MD056, MD058
1284
+ */
1285
+ 'table'?: boolean;
1286
+ /**
1287
+ * MD056/table-column-count : Table column count : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md056.md
1288
+ */
1289
+ 'table-column-count'?: boolean;
1290
+ /**
1291
+ * MD055/table-pipe-style : Table pipe style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md055.md
1292
+ */
1293
+ 'table-pipe-style'?:
1294
+ | {
1295
+ /**
1296
+ * Table pipe style
1297
+ */
1298
+ style?: 'consistent' | 'leading_and_trailing' | 'leading_only' | 'no_leading_or_trailing' | 'trailing_only';
1299
+ }
1300
+ | boolean;
1301
+ /**
1302
+ * Ul : MD004, MD005, MD007, MD030, MD032
1303
+ */
1304
+ 'ul'?: boolean;
1305
+ /**
1306
+ * MD007/ul-indent : Unordered list indentation : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md007.md
1307
+ */
1308
+ 'ul-indent'?:
1309
+ | {
1310
+ /**
1311
+ * Spaces for indent
1312
+ */
1313
+ indent?: number;
1314
+ /**
1315
+ * Spaces for first level indent (when start_indented is set)
1316
+ */
1317
+ start_indent?: number;
1318
+ /**
1319
+ * Whether to indent the first level of the list
1320
+ */
1321
+ start_indented?: boolean;
1322
+ }
1323
+ | boolean;
1324
+ /**
1325
+ * MD004/ul-style : Unordered list style : https://github.com/DavidAnson/markdownlint/blob/v0.38.0/doc/md004.md
1326
+ */
1327
+ 'ul-style'?:
1328
+ | {
1329
+ /**
1330
+ * List style
1331
+ */
1332
+ style?: 'asterisk' | 'consistent' | 'dash' | 'plus' | 'sublist';
1333
+ }
1334
+ | boolean;
1335
+ /**
1336
+ * Url : MD034
1337
+ */
1338
+ 'url'?: boolean;
1339
+ /**
1340
+ * Whitespace : MD009, MD010, MD012, MD027, MD028, MD030, MD037, MD038, MD039
1341
+ */
1342
+ 'whitespace'?: boolean;
1343
+ }