markdownlint 0.22.0 → 0.25.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/CONTRIBUTING.md +13 -3
- package/LICENSE +1 -1
- package/README.md +140 -83
- package/demo/markdownlint-browser.js +1599 -3309
- package/doc/CustomRules.md +15 -4
- package/doc/Prettier.md +23 -0
- package/doc/Rules.md +191 -80
- package/helpers/LICENSE +1 -1
- package/helpers/helpers.js +260 -68
- package/helpers/package.json +1 -1
- package/lib/cache.js +14 -5
- package/lib/constants.js +7 -0
- package/lib/markdownlint.d.ts +31 -11
- package/lib/markdownlint.js +336 -254
- package/lib/md002.js +1 -1
- package/lib/md004.js +46 -13
- package/lib/md006.js +1 -1
- package/lib/md007.js +4 -2
- package/lib/md009.js +24 -20
- package/lib/md010.js +25 -16
- package/lib/md011.js +31 -27
- package/lib/md018.js +1 -1
- package/lib/md019.js +1 -1
- package/lib/md020.js +1 -1
- package/lib/md021.js +1 -1
- package/lib/md023.js +1 -1
- package/lib/md025.js +1 -1
- package/lib/md032.js +2 -2
- package/lib/md033.js +12 -8
- package/lib/md035.js +4 -4
- package/lib/md037.js +40 -12
- package/lib/md039.js +4 -3
- package/lib/md041.js +14 -3
- package/lib/md043.js +9 -5
- package/lib/md044.js +54 -71
- package/lib/md049.js +45 -0
- package/lib/md050.js +45 -0
- package/lib/rules.js +6 -5
- package/package.json +46 -37
- package/schema/.markdownlint.jsonc +266 -0
- package/schema/.markdownlint.yaml +239 -0
- package/schema/markdownlint-config-schema.json +129 -22
- package/schema/build-config-schema.js +0 -417
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
# Example markdownlint YAML configuration with all properties set to their default value
|
|
2
|
+
|
|
3
|
+
# Default state for all rules
|
|
4
|
+
default: true
|
|
5
|
+
|
|
6
|
+
# Path to configuration file to extend
|
|
7
|
+
extends: null
|
|
8
|
+
|
|
9
|
+
# MD001/heading-increment/header-increment - Heading levels should only increment by one level at a time
|
|
10
|
+
MD001: true
|
|
11
|
+
|
|
12
|
+
# MD002/first-heading-h1/first-header-h1 - First heading should be a top-level heading
|
|
13
|
+
MD002:
|
|
14
|
+
# Heading level
|
|
15
|
+
level: 1
|
|
16
|
+
|
|
17
|
+
# MD003/heading-style/header-style - Heading style
|
|
18
|
+
MD003:
|
|
19
|
+
# Heading style
|
|
20
|
+
style: "consistent"
|
|
21
|
+
|
|
22
|
+
# MD004/ul-style - Unordered list style
|
|
23
|
+
MD004:
|
|
24
|
+
# List style
|
|
25
|
+
style: "consistent"
|
|
26
|
+
|
|
27
|
+
# MD005/list-indent - Inconsistent indentation for list items at the same level
|
|
28
|
+
MD005: true
|
|
29
|
+
|
|
30
|
+
# MD006/ul-start-left - Consider starting bulleted lists at the beginning of the line
|
|
31
|
+
MD006: true
|
|
32
|
+
|
|
33
|
+
# MD007/ul-indent - Unordered list indentation
|
|
34
|
+
MD007:
|
|
35
|
+
# Spaces for indent
|
|
36
|
+
indent: 2
|
|
37
|
+
# Whether to indent the first level of the list
|
|
38
|
+
start_indented: false
|
|
39
|
+
# Spaces for first level indent (when start_indented is set)
|
|
40
|
+
start_indent: 2
|
|
41
|
+
|
|
42
|
+
# MD009/no-trailing-spaces - Trailing spaces
|
|
43
|
+
MD009:
|
|
44
|
+
# Spaces for line break
|
|
45
|
+
br_spaces: 2
|
|
46
|
+
# Allow spaces for empty lines in list items
|
|
47
|
+
list_item_empty_lines: false
|
|
48
|
+
# Include unnecessary breaks
|
|
49
|
+
strict: false
|
|
50
|
+
|
|
51
|
+
# MD010/no-hard-tabs - Hard tabs
|
|
52
|
+
MD010:
|
|
53
|
+
# Include code blocks
|
|
54
|
+
code_blocks: true
|
|
55
|
+
# Number of spaces for each hard tab
|
|
56
|
+
spaces_per_tab: 1
|
|
57
|
+
|
|
58
|
+
# MD011/no-reversed-links - Reversed link syntax
|
|
59
|
+
MD011: true
|
|
60
|
+
|
|
61
|
+
# MD012/no-multiple-blanks - Multiple consecutive blank lines
|
|
62
|
+
MD012:
|
|
63
|
+
# Consecutive blank lines
|
|
64
|
+
maximum: 1
|
|
65
|
+
|
|
66
|
+
# MD013/line-length - Line length
|
|
67
|
+
MD013:
|
|
68
|
+
# Number of characters
|
|
69
|
+
line_length: 80
|
|
70
|
+
# Number of characters for headings
|
|
71
|
+
heading_line_length: 80
|
|
72
|
+
# Number of characters for code blocks
|
|
73
|
+
code_block_line_length: 80
|
|
74
|
+
# Include code blocks
|
|
75
|
+
code_blocks: true
|
|
76
|
+
# Include tables
|
|
77
|
+
tables: true
|
|
78
|
+
# Include headings
|
|
79
|
+
headings: true
|
|
80
|
+
# Include headings
|
|
81
|
+
headers: true
|
|
82
|
+
# Strict length checking
|
|
83
|
+
strict: false
|
|
84
|
+
# Stern length checking
|
|
85
|
+
stern: false
|
|
86
|
+
|
|
87
|
+
# MD014/commands-show-output - Dollar signs used before commands without showing output
|
|
88
|
+
MD014: true
|
|
89
|
+
|
|
90
|
+
# MD018/no-missing-space-atx - No space after hash on atx style heading
|
|
91
|
+
MD018: true
|
|
92
|
+
|
|
93
|
+
# MD019/no-multiple-space-atx - Multiple spaces after hash on atx style heading
|
|
94
|
+
MD019: true
|
|
95
|
+
|
|
96
|
+
# MD020/no-missing-space-closed-atx - No space inside hashes on closed atx style heading
|
|
97
|
+
MD020: true
|
|
98
|
+
|
|
99
|
+
# MD021/no-multiple-space-closed-atx - Multiple spaces inside hashes on closed atx style heading
|
|
100
|
+
MD021: true
|
|
101
|
+
|
|
102
|
+
# MD022/blanks-around-headings/blanks-around-headers - Headings should be surrounded by blank lines
|
|
103
|
+
MD022:
|
|
104
|
+
# Blank lines above heading
|
|
105
|
+
lines_above: 1
|
|
106
|
+
# Blank lines below heading
|
|
107
|
+
lines_below: 1
|
|
108
|
+
|
|
109
|
+
# MD023/heading-start-left/header-start-left - Headings must start at the beginning of the line
|
|
110
|
+
MD023: true
|
|
111
|
+
|
|
112
|
+
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
|
|
113
|
+
MD024:
|
|
114
|
+
# Only check sibling headings
|
|
115
|
+
allow_different_nesting: false
|
|
116
|
+
# Only check sibling headings
|
|
117
|
+
siblings_only: false
|
|
118
|
+
|
|
119
|
+
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
|
|
120
|
+
MD025:
|
|
121
|
+
# Heading level
|
|
122
|
+
level: 1
|
|
123
|
+
# RegExp for matching title in front matter
|
|
124
|
+
front_matter_title: "^\\s*title\\s*[:=]"
|
|
125
|
+
|
|
126
|
+
# MD026/no-trailing-punctuation - Trailing punctuation in heading
|
|
127
|
+
MD026:
|
|
128
|
+
# Punctuation characters
|
|
129
|
+
punctuation: ".,;:!。,;:!"
|
|
130
|
+
|
|
131
|
+
# MD027/no-multiple-space-blockquote - Multiple spaces after blockquote symbol
|
|
132
|
+
MD027: true
|
|
133
|
+
|
|
134
|
+
# MD028/no-blanks-blockquote - Blank line inside blockquote
|
|
135
|
+
MD028: true
|
|
136
|
+
|
|
137
|
+
# MD029/ol-prefix - Ordered list item prefix
|
|
138
|
+
MD029:
|
|
139
|
+
# List style
|
|
140
|
+
style: "one_or_ordered"
|
|
141
|
+
|
|
142
|
+
# MD030/list-marker-space - Spaces after list markers
|
|
143
|
+
MD030:
|
|
144
|
+
# Spaces for single-line unordered list items
|
|
145
|
+
ul_single: 1
|
|
146
|
+
# Spaces for single-line ordered list items
|
|
147
|
+
ol_single: 1
|
|
148
|
+
# Spaces for multi-line unordered list items
|
|
149
|
+
ul_multi: 1
|
|
150
|
+
# Spaces for multi-line ordered list items
|
|
151
|
+
ol_multi: 1
|
|
152
|
+
|
|
153
|
+
# MD031/blanks-around-fences - Fenced code blocks should be surrounded by blank lines
|
|
154
|
+
MD031:
|
|
155
|
+
# Include list items
|
|
156
|
+
list_items: true
|
|
157
|
+
|
|
158
|
+
# MD032/blanks-around-lists - Lists should be surrounded by blank lines
|
|
159
|
+
MD032: true
|
|
160
|
+
|
|
161
|
+
# MD033/no-inline-html - Inline HTML
|
|
162
|
+
MD033:
|
|
163
|
+
# Allowed elements
|
|
164
|
+
allowed_elements: []
|
|
165
|
+
|
|
166
|
+
# MD034/no-bare-urls - Bare URL used
|
|
167
|
+
MD034: true
|
|
168
|
+
|
|
169
|
+
# MD035/hr-style - Horizontal rule style
|
|
170
|
+
MD035:
|
|
171
|
+
# Horizontal rule style
|
|
172
|
+
style: "consistent"
|
|
173
|
+
|
|
174
|
+
# MD036/no-emphasis-as-heading/no-emphasis-as-header - Emphasis used instead of a heading
|
|
175
|
+
MD036:
|
|
176
|
+
# Punctuation characters
|
|
177
|
+
punctuation: ".,;:!?。,;:!?"
|
|
178
|
+
|
|
179
|
+
# MD037/no-space-in-emphasis - Spaces inside emphasis markers
|
|
180
|
+
MD037: true
|
|
181
|
+
|
|
182
|
+
# MD038/no-space-in-code - Spaces inside code span elements
|
|
183
|
+
MD038: true
|
|
184
|
+
|
|
185
|
+
# MD039/no-space-in-links - Spaces inside link text
|
|
186
|
+
MD039: true
|
|
187
|
+
|
|
188
|
+
# MD040/fenced-code-language - Fenced code blocks should have a language specified
|
|
189
|
+
MD040: true
|
|
190
|
+
|
|
191
|
+
# MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading
|
|
192
|
+
MD041:
|
|
193
|
+
# Heading level
|
|
194
|
+
level: 1
|
|
195
|
+
# RegExp for matching title in front matter
|
|
196
|
+
front_matter_title: "^\\s*title\\s*[:=]"
|
|
197
|
+
|
|
198
|
+
# MD042/no-empty-links - No empty links
|
|
199
|
+
MD042: true
|
|
200
|
+
|
|
201
|
+
# MD043/required-headings/required-headers - Required heading structure
|
|
202
|
+
MD043:
|
|
203
|
+
# List of headings
|
|
204
|
+
headings: []
|
|
205
|
+
# List of headings
|
|
206
|
+
headers: []
|
|
207
|
+
|
|
208
|
+
# MD044/proper-names - Proper names should have the correct capitalization
|
|
209
|
+
MD044:
|
|
210
|
+
# List of proper names
|
|
211
|
+
names: []
|
|
212
|
+
# Include code blocks
|
|
213
|
+
code_blocks: true
|
|
214
|
+
|
|
215
|
+
# MD045/no-alt-text - Images should have alternate text (alt text)
|
|
216
|
+
MD045: true
|
|
217
|
+
|
|
218
|
+
# MD046/code-block-style - Code block style
|
|
219
|
+
MD046:
|
|
220
|
+
# Block style
|
|
221
|
+
style: "consistent"
|
|
222
|
+
|
|
223
|
+
# MD047/single-trailing-newline - Files should end with a single newline character
|
|
224
|
+
MD047: true
|
|
225
|
+
|
|
226
|
+
# MD048/code-fence-style - Code fence style
|
|
227
|
+
MD048:
|
|
228
|
+
# Code fence style
|
|
229
|
+
style: "consistent"
|
|
230
|
+
|
|
231
|
+
# MD049/emphasis-style - Emphasis style should be consistent
|
|
232
|
+
MD049:
|
|
233
|
+
# Emphasis style should be consistent
|
|
234
|
+
style: "consistent"
|
|
235
|
+
|
|
236
|
+
# MD050/strong-style - Strong style should be consistent
|
|
237
|
+
MD050:
|
|
238
|
+
# Strong style should be consistent
|
|
239
|
+
style: "consistent"
|
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
},
|
|
10
10
|
"extends": {
|
|
11
11
|
"description": "Path to configuration file to extend",
|
|
12
|
-
"type":
|
|
12
|
+
"type": [
|
|
13
|
+
"string",
|
|
14
|
+
"null"
|
|
15
|
+
],
|
|
13
16
|
"default": null
|
|
14
17
|
},
|
|
15
18
|
"$schema": {
|
|
@@ -33,7 +36,7 @@
|
|
|
33
36
|
"default": true
|
|
34
37
|
},
|
|
35
38
|
"MD002": {
|
|
36
|
-
"description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top
|
|
39
|
+
"description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top-level heading",
|
|
37
40
|
"type": [
|
|
38
41
|
"boolean",
|
|
39
42
|
"object"
|
|
@@ -49,7 +52,7 @@
|
|
|
49
52
|
"additionalProperties": false
|
|
50
53
|
},
|
|
51
54
|
"first-heading-h1": {
|
|
52
|
-
"description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top
|
|
55
|
+
"description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top-level heading",
|
|
53
56
|
"type": [
|
|
54
57
|
"boolean",
|
|
55
58
|
"object"
|
|
@@ -65,7 +68,7 @@
|
|
|
65
68
|
"additionalProperties": false
|
|
66
69
|
},
|
|
67
70
|
"first-header-h1": {
|
|
68
|
-
"description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top
|
|
71
|
+
"description": "MD002/first-heading-h1/first-header-h1 - First heading should be a top-level heading",
|
|
69
72
|
"type": [
|
|
70
73
|
"boolean",
|
|
71
74
|
"object"
|
|
@@ -235,6 +238,11 @@
|
|
|
235
238
|
"description": "Whether to indent the first level of the list",
|
|
236
239
|
"type": "boolean",
|
|
237
240
|
"default": false
|
|
241
|
+
},
|
|
242
|
+
"start_indent": {
|
|
243
|
+
"description": "Spaces for first level indent (when start_indented is set)",
|
|
244
|
+
"type": "integer",
|
|
245
|
+
"default": 2
|
|
238
246
|
}
|
|
239
247
|
},
|
|
240
248
|
"additionalProperties": false
|
|
@@ -256,6 +264,11 @@
|
|
|
256
264
|
"description": "Whether to indent the first level of the list",
|
|
257
265
|
"type": "boolean",
|
|
258
266
|
"default": false
|
|
267
|
+
},
|
|
268
|
+
"start_indent": {
|
|
269
|
+
"description": "Spaces for first level indent (when start_indented is set)",
|
|
270
|
+
"type": "integer",
|
|
271
|
+
"default": 2
|
|
259
272
|
}
|
|
260
273
|
},
|
|
261
274
|
"additionalProperties": false
|
|
@@ -324,6 +337,11 @@
|
|
|
324
337
|
"description": "Include code blocks",
|
|
325
338
|
"type": "boolean",
|
|
326
339
|
"default": true
|
|
340
|
+
},
|
|
341
|
+
"spaces_per_tab": {
|
|
342
|
+
"description": "Number of spaces for each hard tab",
|
|
343
|
+
"type": "number",
|
|
344
|
+
"default": 1
|
|
327
345
|
}
|
|
328
346
|
},
|
|
329
347
|
"additionalProperties": false
|
|
@@ -340,6 +358,11 @@
|
|
|
340
358
|
"description": "Include code blocks",
|
|
341
359
|
"type": "boolean",
|
|
342
360
|
"default": true
|
|
361
|
+
},
|
|
362
|
+
"spaces_per_tab": {
|
|
363
|
+
"description": "Number of spaces for each hard tab",
|
|
364
|
+
"type": "number",
|
|
365
|
+
"default": 1
|
|
343
366
|
}
|
|
344
367
|
},
|
|
345
368
|
"additionalProperties": false
|
|
@@ -690,7 +713,7 @@
|
|
|
690
713
|
"additionalProperties": false
|
|
691
714
|
},
|
|
692
715
|
"MD025": {
|
|
693
|
-
"description": "MD025/single-title/single-h1 - Multiple top
|
|
716
|
+
"description": "MD025/single-title/single-h1 - Multiple top-level headings in the same document",
|
|
694
717
|
"type": [
|
|
695
718
|
"boolean",
|
|
696
719
|
"object"
|
|
@@ -711,7 +734,7 @@
|
|
|
711
734
|
"additionalProperties": false
|
|
712
735
|
},
|
|
713
736
|
"single-title": {
|
|
714
|
-
"description": "MD025/single-title/single-h1 - Multiple top
|
|
737
|
+
"description": "MD025/single-title/single-h1 - Multiple top-level headings in the same document",
|
|
715
738
|
"type": [
|
|
716
739
|
"boolean",
|
|
717
740
|
"object"
|
|
@@ -732,7 +755,7 @@
|
|
|
732
755
|
"additionalProperties": false
|
|
733
756
|
},
|
|
734
757
|
"single-h1": {
|
|
735
|
-
"description": "MD025/single-title/single-h1 - Multiple top
|
|
758
|
+
"description": "MD025/single-title/single-h1 - Multiple top-level headings in the same document",
|
|
736
759
|
"type": [
|
|
737
760
|
"boolean",
|
|
738
761
|
"object"
|
|
@@ -1121,7 +1144,7 @@
|
|
|
1121
1144
|
"default": true
|
|
1122
1145
|
},
|
|
1123
1146
|
"MD041": {
|
|
1124
|
-
"description": "MD041/first-line-heading/first-line-h1 - First line in file should be a top
|
|
1147
|
+
"description": "MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading",
|
|
1125
1148
|
"type": [
|
|
1126
1149
|
"boolean",
|
|
1127
1150
|
"object"
|
|
@@ -1142,7 +1165,7 @@
|
|
|
1142
1165
|
"additionalProperties": false
|
|
1143
1166
|
},
|
|
1144
1167
|
"first-line-heading": {
|
|
1145
|
-
"description": "MD041/first-line-heading/first-line-h1 - First line in file should be a top
|
|
1168
|
+
"description": "MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading",
|
|
1146
1169
|
"type": [
|
|
1147
1170
|
"boolean",
|
|
1148
1171
|
"object"
|
|
@@ -1163,7 +1186,7 @@
|
|
|
1163
1186
|
"additionalProperties": false
|
|
1164
1187
|
},
|
|
1165
1188
|
"first-line-h1": {
|
|
1166
|
-
"description": "MD041/first-line-heading/first-line-h1 - First line in file should be a top
|
|
1189
|
+
"description": "MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading",
|
|
1167
1190
|
"type": [
|
|
1168
1191
|
"boolean",
|
|
1169
1192
|
"object"
|
|
@@ -1207,7 +1230,7 @@
|
|
|
1207
1230
|
"items": {
|
|
1208
1231
|
"type": "string"
|
|
1209
1232
|
},
|
|
1210
|
-
"default":
|
|
1233
|
+
"default": []
|
|
1211
1234
|
},
|
|
1212
1235
|
"headers": {
|
|
1213
1236
|
"description": "List of headings",
|
|
@@ -1215,7 +1238,7 @@
|
|
|
1215
1238
|
"items": {
|
|
1216
1239
|
"type": "string"
|
|
1217
1240
|
},
|
|
1218
|
-
"default":
|
|
1241
|
+
"default": []
|
|
1219
1242
|
}
|
|
1220
1243
|
},
|
|
1221
1244
|
"additionalProperties": false
|
|
@@ -1234,7 +1257,7 @@
|
|
|
1234
1257
|
"items": {
|
|
1235
1258
|
"type": "string"
|
|
1236
1259
|
},
|
|
1237
|
-
"default":
|
|
1260
|
+
"default": []
|
|
1238
1261
|
},
|
|
1239
1262
|
"headers": {
|
|
1240
1263
|
"description": "List of headings",
|
|
@@ -1242,7 +1265,7 @@
|
|
|
1242
1265
|
"items": {
|
|
1243
1266
|
"type": "string"
|
|
1244
1267
|
},
|
|
1245
|
-
"default":
|
|
1268
|
+
"default": []
|
|
1246
1269
|
}
|
|
1247
1270
|
},
|
|
1248
1271
|
"additionalProperties": false
|
|
@@ -1261,7 +1284,7 @@
|
|
|
1261
1284
|
"items": {
|
|
1262
1285
|
"type": "string"
|
|
1263
1286
|
},
|
|
1264
|
-
"default":
|
|
1287
|
+
"default": []
|
|
1265
1288
|
},
|
|
1266
1289
|
"headers": {
|
|
1267
1290
|
"description": "List of headings",
|
|
@@ -1269,7 +1292,7 @@
|
|
|
1269
1292
|
"items": {
|
|
1270
1293
|
"type": "string"
|
|
1271
1294
|
},
|
|
1272
|
-
"default":
|
|
1295
|
+
"default": []
|
|
1273
1296
|
}
|
|
1274
1297
|
},
|
|
1275
1298
|
"additionalProperties": false
|
|
@@ -1288,7 +1311,7 @@
|
|
|
1288
1311
|
"items": {
|
|
1289
1312
|
"type": "string"
|
|
1290
1313
|
},
|
|
1291
|
-
"default":
|
|
1314
|
+
"default": []
|
|
1292
1315
|
},
|
|
1293
1316
|
"code_blocks": {
|
|
1294
1317
|
"description": "Include code blocks",
|
|
@@ -1312,7 +1335,7 @@
|
|
|
1312
1335
|
"items": {
|
|
1313
1336
|
"type": "string"
|
|
1314
1337
|
},
|
|
1315
|
-
"default":
|
|
1338
|
+
"default": []
|
|
1316
1339
|
},
|
|
1317
1340
|
"code_blocks": {
|
|
1318
1341
|
"description": "Include code blocks",
|
|
@@ -1393,7 +1416,7 @@
|
|
|
1393
1416
|
"default": true,
|
|
1394
1417
|
"properties": {
|
|
1395
1418
|
"style": {
|
|
1396
|
-
"description": "Code fence
|
|
1419
|
+
"description": "Code fence style",
|
|
1397
1420
|
"type": "string",
|
|
1398
1421
|
"enum": [
|
|
1399
1422
|
"consistent",
|
|
@@ -1414,7 +1437,7 @@
|
|
|
1414
1437
|
"default": true,
|
|
1415
1438
|
"properties": {
|
|
1416
1439
|
"style": {
|
|
1417
|
-
"description": "Code fence
|
|
1440
|
+
"description": "Code fence style",
|
|
1418
1441
|
"type": "string",
|
|
1419
1442
|
"enum": [
|
|
1420
1443
|
"consistent",
|
|
@@ -1426,6 +1449,90 @@
|
|
|
1426
1449
|
},
|
|
1427
1450
|
"additionalProperties": false
|
|
1428
1451
|
},
|
|
1452
|
+
"MD049": {
|
|
1453
|
+
"description": "MD049/emphasis-style - Emphasis style should be consistent",
|
|
1454
|
+
"type": [
|
|
1455
|
+
"boolean",
|
|
1456
|
+
"object"
|
|
1457
|
+
],
|
|
1458
|
+
"default": true,
|
|
1459
|
+
"properties": {
|
|
1460
|
+
"style": {
|
|
1461
|
+
"description": "Emphasis style should be consistent",
|
|
1462
|
+
"type": "string",
|
|
1463
|
+
"enum": [
|
|
1464
|
+
"consistent",
|
|
1465
|
+
"asterisk",
|
|
1466
|
+
"underscore"
|
|
1467
|
+
],
|
|
1468
|
+
"default": "consistent"
|
|
1469
|
+
}
|
|
1470
|
+
},
|
|
1471
|
+
"additionalProperties": false
|
|
1472
|
+
},
|
|
1473
|
+
"emphasis-style": {
|
|
1474
|
+
"description": "MD049/emphasis-style - Emphasis style should be consistent",
|
|
1475
|
+
"type": [
|
|
1476
|
+
"boolean",
|
|
1477
|
+
"object"
|
|
1478
|
+
],
|
|
1479
|
+
"default": true,
|
|
1480
|
+
"properties": {
|
|
1481
|
+
"style": {
|
|
1482
|
+
"description": "Emphasis style should be consistent",
|
|
1483
|
+
"type": "string",
|
|
1484
|
+
"enum": [
|
|
1485
|
+
"consistent",
|
|
1486
|
+
"asterisk",
|
|
1487
|
+
"underscore"
|
|
1488
|
+
],
|
|
1489
|
+
"default": "consistent"
|
|
1490
|
+
}
|
|
1491
|
+
},
|
|
1492
|
+
"additionalProperties": false
|
|
1493
|
+
},
|
|
1494
|
+
"MD050": {
|
|
1495
|
+
"description": "MD050/strong-style - Strong style should be consistent",
|
|
1496
|
+
"type": [
|
|
1497
|
+
"boolean",
|
|
1498
|
+
"object"
|
|
1499
|
+
],
|
|
1500
|
+
"default": true,
|
|
1501
|
+
"properties": {
|
|
1502
|
+
"style": {
|
|
1503
|
+
"description": "Strong style should be consistent",
|
|
1504
|
+
"type": "string",
|
|
1505
|
+
"enum": [
|
|
1506
|
+
"consistent",
|
|
1507
|
+
"asterisk",
|
|
1508
|
+
"underscore"
|
|
1509
|
+
],
|
|
1510
|
+
"default": "consistent"
|
|
1511
|
+
}
|
|
1512
|
+
},
|
|
1513
|
+
"additionalProperties": false
|
|
1514
|
+
},
|
|
1515
|
+
"strong-style": {
|
|
1516
|
+
"description": "MD050/strong-style - Strong style should be consistent",
|
|
1517
|
+
"type": [
|
|
1518
|
+
"boolean",
|
|
1519
|
+
"object"
|
|
1520
|
+
],
|
|
1521
|
+
"default": true,
|
|
1522
|
+
"properties": {
|
|
1523
|
+
"style": {
|
|
1524
|
+
"description": "Strong style should be consistent",
|
|
1525
|
+
"type": "string",
|
|
1526
|
+
"enum": [
|
|
1527
|
+
"consistent",
|
|
1528
|
+
"asterisk",
|
|
1529
|
+
"underscore"
|
|
1530
|
+
],
|
|
1531
|
+
"default": "consistent"
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
"additionalProperties": false
|
|
1535
|
+
},
|
|
1429
1536
|
"headings": {
|
|
1430
1537
|
"description": "headings - MD001, MD002, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043",
|
|
1431
1538
|
"type": "boolean",
|
|
@@ -1522,7 +1629,7 @@
|
|
|
1522
1629
|
"default": true
|
|
1523
1630
|
},
|
|
1524
1631
|
"emphasis": {
|
|
1525
|
-
"description": "emphasis - MD036, MD037",
|
|
1632
|
+
"description": "emphasis - MD036, MD037, MD049, MD050",
|
|
1526
1633
|
"type": "boolean",
|
|
1527
1634
|
"default": true
|
|
1528
1635
|
},
|
|
@@ -1548,7 +1655,7 @@
|
|
|
1548
1655
|
}
|
|
1549
1656
|
},
|
|
1550
1657
|
"additionalProperties": {
|
|
1551
|
-
"type
|
|
1658
|
+
"type": [
|
|
1552
1659
|
"boolean",
|
|
1553
1660
|
"object"
|
|
1554
1661
|
]
|