markdownlint 0.21.0 → 0.23.1
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 +1 -0
- package/LICENSE +1 -1
- package/README.md +106 -70
- package/demo/markdownlint-browser.js +1037 -1600
- package/doc/Rules.md +106 -76
- package/helpers/LICENSE +1 -1
- package/helpers/helpers.js +83 -33
- package/helpers/package.json +1 -1
- package/lib/markdownlint.d.ts +11 -5
- package/lib/markdownlint.js +102 -38
- package/lib/md002.js +1 -1
- package/lib/md004.js +46 -13
- package/lib/md006.js +1 -1
- package/lib/md009.js +25 -23
- package/lib/md011.js +10 -6
- 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/md026.js +7 -4
- package/lib/md028.js +1 -9
- package/lib/md031.js +6 -5
- package/lib/md032.js +2 -2
- package/lib/md037.js +22 -8
- package/lib/md039.js +2 -2
- package/lib/md041.js +14 -3
- package/lib/md043.js +22 -11
- package/lib/rules.js +2 -1
- package/package.json +32 -33
- package/schema/.markdownlint.jsonc +250 -0
- package/schema/.markdownlint.yaml +225 -0
- package/schema/markdownlint-config-schema.json +23 -20
- package/schema/build-config-schema.js +0 -410
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
{
|
|
2
|
+
// Example markdownlint JSON(C) configuration with all properties set to their default value
|
|
3
|
+
|
|
4
|
+
// Default state for all rules
|
|
5
|
+
"default": true,
|
|
6
|
+
|
|
7
|
+
// Path to configuration file to extend
|
|
8
|
+
"extends": null,
|
|
9
|
+
|
|
10
|
+
// MD001/heading-increment/header-increment - Heading levels should only increment by one level at a time
|
|
11
|
+
"MD001": true,
|
|
12
|
+
|
|
13
|
+
// MD002/first-heading-h1/first-header-h1 - First heading should be a top-level heading
|
|
14
|
+
"MD002": {
|
|
15
|
+
// Heading level
|
|
16
|
+
"level": 1
|
|
17
|
+
},
|
|
18
|
+
|
|
19
|
+
// MD003/heading-style/header-style - Heading style
|
|
20
|
+
"MD003": {
|
|
21
|
+
// Heading style
|
|
22
|
+
"style": "consistent"
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
// MD004/ul-style - Unordered list style
|
|
26
|
+
"MD004": {
|
|
27
|
+
// List style
|
|
28
|
+
"style": "consistent"
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
// MD005/list-indent - Inconsistent indentation for list items at the same level
|
|
32
|
+
"MD005": true,
|
|
33
|
+
|
|
34
|
+
// MD006/ul-start-left - Consider starting bulleted lists at the beginning of the line
|
|
35
|
+
"MD006": true,
|
|
36
|
+
|
|
37
|
+
// MD007/ul-indent - Unordered list indentation
|
|
38
|
+
"MD007": {
|
|
39
|
+
// Spaces for indent
|
|
40
|
+
"indent": 2,
|
|
41
|
+
// Whether to indent the first level of the list
|
|
42
|
+
"start_indented": false
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
// MD009/no-trailing-spaces - Trailing spaces
|
|
46
|
+
"MD009": {
|
|
47
|
+
// Spaces for line break
|
|
48
|
+
"br_spaces": 2,
|
|
49
|
+
// Allow spaces for empty lines in list items
|
|
50
|
+
"list_item_empty_lines": false,
|
|
51
|
+
// Include unnecessary breaks
|
|
52
|
+
"strict": false
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
// MD010/no-hard-tabs - Hard tabs
|
|
56
|
+
"MD010": {
|
|
57
|
+
// Include code blocks
|
|
58
|
+
"code_blocks": true
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
// MD011/no-reversed-links - Reversed link syntax
|
|
62
|
+
"MD011": true,
|
|
63
|
+
|
|
64
|
+
// MD012/no-multiple-blanks - Multiple consecutive blank lines
|
|
65
|
+
"MD012": {
|
|
66
|
+
// Consecutive blank lines
|
|
67
|
+
"maximum": 1
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
// MD013/line-length - Line length
|
|
71
|
+
"MD013": {
|
|
72
|
+
// Number of characters
|
|
73
|
+
"line_length": 80,
|
|
74
|
+
// Number of characters for headings
|
|
75
|
+
"heading_line_length": 80,
|
|
76
|
+
// Number of characters for code blocks
|
|
77
|
+
"code_block_line_length": 80,
|
|
78
|
+
// Include code blocks
|
|
79
|
+
"code_blocks": true,
|
|
80
|
+
// Include tables
|
|
81
|
+
"tables": true,
|
|
82
|
+
// Include headings
|
|
83
|
+
"headings": true,
|
|
84
|
+
// Include headings
|
|
85
|
+
"headers": true,
|
|
86
|
+
// Strict length checking
|
|
87
|
+
"strict": false,
|
|
88
|
+
// Stern length checking
|
|
89
|
+
"stern": false
|
|
90
|
+
},
|
|
91
|
+
|
|
92
|
+
// MD014/commands-show-output - Dollar signs used before commands without showing output
|
|
93
|
+
"MD014": true,
|
|
94
|
+
|
|
95
|
+
// MD018/no-missing-space-atx - No space after hash on atx style heading
|
|
96
|
+
"MD018": true,
|
|
97
|
+
|
|
98
|
+
// MD019/no-multiple-space-atx - Multiple spaces after hash on atx style heading
|
|
99
|
+
"MD019": true,
|
|
100
|
+
|
|
101
|
+
// MD020/no-missing-space-closed-atx - No space inside hashes on closed atx style heading
|
|
102
|
+
"MD020": true,
|
|
103
|
+
|
|
104
|
+
// MD021/no-multiple-space-closed-atx - Multiple spaces inside hashes on closed atx style heading
|
|
105
|
+
"MD021": true,
|
|
106
|
+
|
|
107
|
+
// MD022/blanks-around-headings/blanks-around-headers - Headings should be surrounded by blank lines
|
|
108
|
+
"MD022": {
|
|
109
|
+
// Blank lines above heading
|
|
110
|
+
"lines_above": 1,
|
|
111
|
+
// Blank lines below heading
|
|
112
|
+
"lines_below": 1
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
// MD023/heading-start-left/header-start-left - Headings must start at the beginning of the line
|
|
116
|
+
"MD023": true,
|
|
117
|
+
|
|
118
|
+
// MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
|
|
119
|
+
"MD024": {
|
|
120
|
+
// Only check sibling headings
|
|
121
|
+
"allow_different_nesting": false,
|
|
122
|
+
// Only check sibling headings
|
|
123
|
+
"siblings_only": false
|
|
124
|
+
},
|
|
125
|
+
|
|
126
|
+
// MD025/single-title/single-h1 - Multiple top-level headings in the same document
|
|
127
|
+
"MD025": {
|
|
128
|
+
// Heading level
|
|
129
|
+
"level": 1,
|
|
130
|
+
// RegExp for matching title in front matter
|
|
131
|
+
"front_matter_title": "^\\s*title\\s*[:=]"
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
// MD026/no-trailing-punctuation - Trailing punctuation in heading
|
|
135
|
+
"MD026": {
|
|
136
|
+
// Punctuation characters
|
|
137
|
+
"punctuation": ".,;:!。,;:!"
|
|
138
|
+
},
|
|
139
|
+
|
|
140
|
+
// MD027/no-multiple-space-blockquote - Multiple spaces after blockquote symbol
|
|
141
|
+
"MD027": true,
|
|
142
|
+
|
|
143
|
+
// MD028/no-blanks-blockquote - Blank line inside blockquote
|
|
144
|
+
"MD028": true,
|
|
145
|
+
|
|
146
|
+
// MD029/ol-prefix - Ordered list item prefix
|
|
147
|
+
"MD029": {
|
|
148
|
+
// List style
|
|
149
|
+
"style": "one_or_ordered"
|
|
150
|
+
},
|
|
151
|
+
|
|
152
|
+
// MD030/list-marker-space - Spaces after list markers
|
|
153
|
+
"MD030": {
|
|
154
|
+
// Spaces for single-line unordered list items
|
|
155
|
+
"ul_single": 1,
|
|
156
|
+
// Spaces for single-line ordered list items
|
|
157
|
+
"ol_single": 1,
|
|
158
|
+
// Spaces for multi-line unordered list items
|
|
159
|
+
"ul_multi": 1,
|
|
160
|
+
// Spaces for multi-line ordered list items
|
|
161
|
+
"ol_multi": 1
|
|
162
|
+
},
|
|
163
|
+
|
|
164
|
+
// MD031/blanks-around-fences - Fenced code blocks should be surrounded by blank lines
|
|
165
|
+
"MD031": {
|
|
166
|
+
// Include list items
|
|
167
|
+
"list_items": true
|
|
168
|
+
},
|
|
169
|
+
|
|
170
|
+
// MD032/blanks-around-lists - Lists should be surrounded by blank lines
|
|
171
|
+
"MD032": true,
|
|
172
|
+
|
|
173
|
+
// MD033/no-inline-html - Inline HTML
|
|
174
|
+
"MD033": {
|
|
175
|
+
// Allowed elements
|
|
176
|
+
"allowed_elements": []
|
|
177
|
+
},
|
|
178
|
+
|
|
179
|
+
// MD034/no-bare-urls - Bare URL used
|
|
180
|
+
"MD034": true,
|
|
181
|
+
|
|
182
|
+
// MD035/hr-style - Horizontal rule style
|
|
183
|
+
"MD035": {
|
|
184
|
+
// Horizontal rule style
|
|
185
|
+
"style": "consistent"
|
|
186
|
+
},
|
|
187
|
+
|
|
188
|
+
// MD036/no-emphasis-as-heading/no-emphasis-as-header - Emphasis used instead of a heading
|
|
189
|
+
"MD036": {
|
|
190
|
+
// Punctuation characters
|
|
191
|
+
"punctuation": ".,;:!?。,;:!?"
|
|
192
|
+
},
|
|
193
|
+
|
|
194
|
+
// MD037/no-space-in-emphasis - Spaces inside emphasis markers
|
|
195
|
+
"MD037": true,
|
|
196
|
+
|
|
197
|
+
// MD038/no-space-in-code - Spaces inside code span elements
|
|
198
|
+
"MD038": true,
|
|
199
|
+
|
|
200
|
+
// MD039/no-space-in-links - Spaces inside link text
|
|
201
|
+
"MD039": true,
|
|
202
|
+
|
|
203
|
+
// MD040/fenced-code-language - Fenced code blocks should have a language specified
|
|
204
|
+
"MD040": true,
|
|
205
|
+
|
|
206
|
+
// MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading
|
|
207
|
+
"MD041": {
|
|
208
|
+
// Heading level
|
|
209
|
+
"level": 1,
|
|
210
|
+
// RegExp for matching title in front matter
|
|
211
|
+
"front_matter_title": "^\\s*title\\s*[:=]"
|
|
212
|
+
},
|
|
213
|
+
|
|
214
|
+
// MD042/no-empty-links - No empty links
|
|
215
|
+
"MD042": true,
|
|
216
|
+
|
|
217
|
+
// MD043/required-headings/required-headers - Required heading structure
|
|
218
|
+
"MD043": {
|
|
219
|
+
// List of headings
|
|
220
|
+
"headings": [],
|
|
221
|
+
// List of headings
|
|
222
|
+
"headers": []
|
|
223
|
+
},
|
|
224
|
+
|
|
225
|
+
// MD044/proper-names - Proper names should have the correct capitalization
|
|
226
|
+
"MD044": {
|
|
227
|
+
// List of proper names
|
|
228
|
+
"names": [],
|
|
229
|
+
// Include code blocks
|
|
230
|
+
"code_blocks": true
|
|
231
|
+
},
|
|
232
|
+
|
|
233
|
+
// MD045/no-alt-text - Images should have alternate text (alt text)
|
|
234
|
+
"MD045": true,
|
|
235
|
+
|
|
236
|
+
// MD046/code-block-style - Code block style
|
|
237
|
+
"MD046": {
|
|
238
|
+
// Block style
|
|
239
|
+
"style": "consistent"
|
|
240
|
+
},
|
|
241
|
+
|
|
242
|
+
// MD047/single-trailing-newline - Files should end with a single newline character
|
|
243
|
+
"MD047": true,
|
|
244
|
+
|
|
245
|
+
// MD048/code-fence-style - Code fence style
|
|
246
|
+
"MD048": {
|
|
247
|
+
// Code fence syle
|
|
248
|
+
"style": "consistent"
|
|
249
|
+
}
|
|
250
|
+
}
|
|
@@ -0,0 +1,225 @@
|
|
|
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
|
+
|
|
40
|
+
# MD009/no-trailing-spaces - Trailing spaces
|
|
41
|
+
MD009:
|
|
42
|
+
# Spaces for line break
|
|
43
|
+
br_spaces: 2
|
|
44
|
+
# Allow spaces for empty lines in list items
|
|
45
|
+
list_item_empty_lines: false
|
|
46
|
+
# Include unnecessary breaks
|
|
47
|
+
strict: false
|
|
48
|
+
|
|
49
|
+
# MD010/no-hard-tabs - Hard tabs
|
|
50
|
+
MD010:
|
|
51
|
+
# Include code blocks
|
|
52
|
+
code_blocks: true
|
|
53
|
+
|
|
54
|
+
# MD011/no-reversed-links - Reversed link syntax
|
|
55
|
+
MD011: true
|
|
56
|
+
|
|
57
|
+
# MD012/no-multiple-blanks - Multiple consecutive blank lines
|
|
58
|
+
MD012:
|
|
59
|
+
# Consecutive blank lines
|
|
60
|
+
maximum: 1
|
|
61
|
+
|
|
62
|
+
# MD013/line-length - Line length
|
|
63
|
+
MD013:
|
|
64
|
+
# Number of characters
|
|
65
|
+
line_length: 80
|
|
66
|
+
# Number of characters for headings
|
|
67
|
+
heading_line_length: 80
|
|
68
|
+
# Number of characters for code blocks
|
|
69
|
+
code_block_line_length: 80
|
|
70
|
+
# Include code blocks
|
|
71
|
+
code_blocks: true
|
|
72
|
+
# Include tables
|
|
73
|
+
tables: true
|
|
74
|
+
# Include headings
|
|
75
|
+
headings: true
|
|
76
|
+
# Include headings
|
|
77
|
+
headers: true
|
|
78
|
+
# Strict length checking
|
|
79
|
+
strict: false
|
|
80
|
+
# Stern length checking
|
|
81
|
+
stern: false
|
|
82
|
+
|
|
83
|
+
# MD014/commands-show-output - Dollar signs used before commands without showing output
|
|
84
|
+
MD014: true
|
|
85
|
+
|
|
86
|
+
# MD018/no-missing-space-atx - No space after hash on atx style heading
|
|
87
|
+
MD018: true
|
|
88
|
+
|
|
89
|
+
# MD019/no-multiple-space-atx - Multiple spaces after hash on atx style heading
|
|
90
|
+
MD019: true
|
|
91
|
+
|
|
92
|
+
# MD020/no-missing-space-closed-atx - No space inside hashes on closed atx style heading
|
|
93
|
+
MD020: true
|
|
94
|
+
|
|
95
|
+
# MD021/no-multiple-space-closed-atx - Multiple spaces inside hashes on closed atx style heading
|
|
96
|
+
MD021: true
|
|
97
|
+
|
|
98
|
+
# MD022/blanks-around-headings/blanks-around-headers - Headings should be surrounded by blank lines
|
|
99
|
+
MD022:
|
|
100
|
+
# Blank lines above heading
|
|
101
|
+
lines_above: 1
|
|
102
|
+
# Blank lines below heading
|
|
103
|
+
lines_below: 1
|
|
104
|
+
|
|
105
|
+
# MD023/heading-start-left/header-start-left - Headings must start at the beginning of the line
|
|
106
|
+
MD023: true
|
|
107
|
+
|
|
108
|
+
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
|
|
109
|
+
MD024:
|
|
110
|
+
# Only check sibling headings
|
|
111
|
+
allow_different_nesting: false
|
|
112
|
+
# Only check sibling headings
|
|
113
|
+
siblings_only: false
|
|
114
|
+
|
|
115
|
+
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
|
|
116
|
+
MD025:
|
|
117
|
+
# Heading level
|
|
118
|
+
level: 1
|
|
119
|
+
# RegExp for matching title in front matter
|
|
120
|
+
front_matter_title: "^\\s*title\\s*[:=]"
|
|
121
|
+
|
|
122
|
+
# MD026/no-trailing-punctuation - Trailing punctuation in heading
|
|
123
|
+
MD026:
|
|
124
|
+
# Punctuation characters
|
|
125
|
+
punctuation: ".,;:!。,;:!"
|
|
126
|
+
|
|
127
|
+
# MD027/no-multiple-space-blockquote - Multiple spaces after blockquote symbol
|
|
128
|
+
MD027: true
|
|
129
|
+
|
|
130
|
+
# MD028/no-blanks-blockquote - Blank line inside blockquote
|
|
131
|
+
MD028: true
|
|
132
|
+
|
|
133
|
+
# MD029/ol-prefix - Ordered list item prefix
|
|
134
|
+
MD029:
|
|
135
|
+
# List style
|
|
136
|
+
style: "one_or_ordered"
|
|
137
|
+
|
|
138
|
+
# MD030/list-marker-space - Spaces after list markers
|
|
139
|
+
MD030:
|
|
140
|
+
# Spaces for single-line unordered list items
|
|
141
|
+
ul_single: 1
|
|
142
|
+
# Spaces for single-line ordered list items
|
|
143
|
+
ol_single: 1
|
|
144
|
+
# Spaces for multi-line unordered list items
|
|
145
|
+
ul_multi: 1
|
|
146
|
+
# Spaces for multi-line ordered list items
|
|
147
|
+
ol_multi: 1
|
|
148
|
+
|
|
149
|
+
# MD031/blanks-around-fences - Fenced code blocks should be surrounded by blank lines
|
|
150
|
+
MD031:
|
|
151
|
+
# Include list items
|
|
152
|
+
list_items: true
|
|
153
|
+
|
|
154
|
+
# MD032/blanks-around-lists - Lists should be surrounded by blank lines
|
|
155
|
+
MD032: true
|
|
156
|
+
|
|
157
|
+
# MD033/no-inline-html - Inline HTML
|
|
158
|
+
MD033:
|
|
159
|
+
# Allowed elements
|
|
160
|
+
allowed_elements: []
|
|
161
|
+
|
|
162
|
+
# MD034/no-bare-urls - Bare URL used
|
|
163
|
+
MD034: true
|
|
164
|
+
|
|
165
|
+
# MD035/hr-style - Horizontal rule style
|
|
166
|
+
MD035:
|
|
167
|
+
# Horizontal rule style
|
|
168
|
+
style: "consistent"
|
|
169
|
+
|
|
170
|
+
# MD036/no-emphasis-as-heading/no-emphasis-as-header - Emphasis used instead of a heading
|
|
171
|
+
MD036:
|
|
172
|
+
# Punctuation characters
|
|
173
|
+
punctuation: ".,;:!?。,;:!?"
|
|
174
|
+
|
|
175
|
+
# MD037/no-space-in-emphasis - Spaces inside emphasis markers
|
|
176
|
+
MD037: true
|
|
177
|
+
|
|
178
|
+
# MD038/no-space-in-code - Spaces inside code span elements
|
|
179
|
+
MD038: true
|
|
180
|
+
|
|
181
|
+
# MD039/no-space-in-links - Spaces inside link text
|
|
182
|
+
MD039: true
|
|
183
|
+
|
|
184
|
+
# MD040/fenced-code-language - Fenced code blocks should have a language specified
|
|
185
|
+
MD040: true
|
|
186
|
+
|
|
187
|
+
# MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading
|
|
188
|
+
MD041:
|
|
189
|
+
# Heading level
|
|
190
|
+
level: 1
|
|
191
|
+
# RegExp for matching title in front matter
|
|
192
|
+
front_matter_title: "^\\s*title\\s*[:=]"
|
|
193
|
+
|
|
194
|
+
# MD042/no-empty-links - No empty links
|
|
195
|
+
MD042: true
|
|
196
|
+
|
|
197
|
+
# MD043/required-headings/required-headers - Required heading structure
|
|
198
|
+
MD043:
|
|
199
|
+
# List of headings
|
|
200
|
+
headings: []
|
|
201
|
+
# List of headings
|
|
202
|
+
headers: []
|
|
203
|
+
|
|
204
|
+
# MD044/proper-names - Proper names should have the correct capitalization
|
|
205
|
+
MD044:
|
|
206
|
+
# List of proper names
|
|
207
|
+
names: []
|
|
208
|
+
# Include code blocks
|
|
209
|
+
code_blocks: true
|
|
210
|
+
|
|
211
|
+
# MD045/no-alt-text - Images should have alternate text (alt text)
|
|
212
|
+
MD045: true
|
|
213
|
+
|
|
214
|
+
# MD046/code-block-style - Code block style
|
|
215
|
+
MD046:
|
|
216
|
+
# Block style
|
|
217
|
+
style: "consistent"
|
|
218
|
+
|
|
219
|
+
# MD047/single-trailing-newline - Files should end with a single newline character
|
|
220
|
+
MD047: true
|
|
221
|
+
|
|
222
|
+
# MD048/code-fence-style - Code fence style
|
|
223
|
+
MD048:
|
|
224
|
+
# Code fence syle
|
|
225
|
+
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"
|
|
@@ -690,7 +693,7 @@
|
|
|
690
693
|
"additionalProperties": false
|
|
691
694
|
},
|
|
692
695
|
"MD025": {
|
|
693
|
-
"description": "MD025/single-title/single-h1 - Multiple top
|
|
696
|
+
"description": "MD025/single-title/single-h1 - Multiple top-level headings in the same document",
|
|
694
697
|
"type": [
|
|
695
698
|
"boolean",
|
|
696
699
|
"object"
|
|
@@ -711,7 +714,7 @@
|
|
|
711
714
|
"additionalProperties": false
|
|
712
715
|
},
|
|
713
716
|
"single-title": {
|
|
714
|
-
"description": "MD025/single-title/single-h1 - Multiple top
|
|
717
|
+
"description": "MD025/single-title/single-h1 - Multiple top-level headings in the same document",
|
|
715
718
|
"type": [
|
|
716
719
|
"boolean",
|
|
717
720
|
"object"
|
|
@@ -732,7 +735,7 @@
|
|
|
732
735
|
"additionalProperties": false
|
|
733
736
|
},
|
|
734
737
|
"single-h1": {
|
|
735
|
-
"description": "MD025/single-title/single-h1 - Multiple top
|
|
738
|
+
"description": "MD025/single-title/single-h1 - Multiple top-level headings in the same document",
|
|
736
739
|
"type": [
|
|
737
740
|
"boolean",
|
|
738
741
|
"object"
|
|
@@ -763,7 +766,7 @@
|
|
|
763
766
|
"punctuation": {
|
|
764
767
|
"description": "Punctuation characters",
|
|
765
768
|
"type": "string",
|
|
766
|
-
"default": "
|
|
769
|
+
"default": ".,;:!。,;:!"
|
|
767
770
|
}
|
|
768
771
|
},
|
|
769
772
|
"additionalProperties": false
|
|
@@ -779,7 +782,7 @@
|
|
|
779
782
|
"punctuation": {
|
|
780
783
|
"description": "Punctuation characters",
|
|
781
784
|
"type": "string",
|
|
782
|
-
"default": "
|
|
785
|
+
"default": ".,;:!。,;:!"
|
|
783
786
|
}
|
|
784
787
|
},
|
|
785
788
|
"additionalProperties": false
|
|
@@ -1121,7 +1124,7 @@
|
|
|
1121
1124
|
"default": true
|
|
1122
1125
|
},
|
|
1123
1126
|
"MD041": {
|
|
1124
|
-
"description": "MD041/first-line-heading/first-line-h1 - First line in file should be a top
|
|
1127
|
+
"description": "MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading",
|
|
1125
1128
|
"type": [
|
|
1126
1129
|
"boolean",
|
|
1127
1130
|
"object"
|
|
@@ -1142,7 +1145,7 @@
|
|
|
1142
1145
|
"additionalProperties": false
|
|
1143
1146
|
},
|
|
1144
1147
|
"first-line-heading": {
|
|
1145
|
-
"description": "MD041/first-line-heading/first-line-h1 - First line in file should be a top
|
|
1148
|
+
"description": "MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading",
|
|
1146
1149
|
"type": [
|
|
1147
1150
|
"boolean",
|
|
1148
1151
|
"object"
|
|
@@ -1163,7 +1166,7 @@
|
|
|
1163
1166
|
"additionalProperties": false
|
|
1164
1167
|
},
|
|
1165
1168
|
"first-line-h1": {
|
|
1166
|
-
"description": "MD041/first-line-heading/first-line-h1 - First line in file should be a top
|
|
1169
|
+
"description": "MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading",
|
|
1167
1170
|
"type": [
|
|
1168
1171
|
"boolean",
|
|
1169
1172
|
"object"
|
|
@@ -1207,7 +1210,7 @@
|
|
|
1207
1210
|
"items": {
|
|
1208
1211
|
"type": "string"
|
|
1209
1212
|
},
|
|
1210
|
-
"default":
|
|
1213
|
+
"default": []
|
|
1211
1214
|
},
|
|
1212
1215
|
"headers": {
|
|
1213
1216
|
"description": "List of headings",
|
|
@@ -1215,7 +1218,7 @@
|
|
|
1215
1218
|
"items": {
|
|
1216
1219
|
"type": "string"
|
|
1217
1220
|
},
|
|
1218
|
-
"default":
|
|
1221
|
+
"default": []
|
|
1219
1222
|
}
|
|
1220
1223
|
},
|
|
1221
1224
|
"additionalProperties": false
|
|
@@ -1234,7 +1237,7 @@
|
|
|
1234
1237
|
"items": {
|
|
1235
1238
|
"type": "string"
|
|
1236
1239
|
},
|
|
1237
|
-
"default":
|
|
1240
|
+
"default": []
|
|
1238
1241
|
},
|
|
1239
1242
|
"headers": {
|
|
1240
1243
|
"description": "List of headings",
|
|
@@ -1242,7 +1245,7 @@
|
|
|
1242
1245
|
"items": {
|
|
1243
1246
|
"type": "string"
|
|
1244
1247
|
},
|
|
1245
|
-
"default":
|
|
1248
|
+
"default": []
|
|
1246
1249
|
}
|
|
1247
1250
|
},
|
|
1248
1251
|
"additionalProperties": false
|
|
@@ -1261,7 +1264,7 @@
|
|
|
1261
1264
|
"items": {
|
|
1262
1265
|
"type": "string"
|
|
1263
1266
|
},
|
|
1264
|
-
"default":
|
|
1267
|
+
"default": []
|
|
1265
1268
|
},
|
|
1266
1269
|
"headers": {
|
|
1267
1270
|
"description": "List of headings",
|
|
@@ -1269,7 +1272,7 @@
|
|
|
1269
1272
|
"items": {
|
|
1270
1273
|
"type": "string"
|
|
1271
1274
|
},
|
|
1272
|
-
"default":
|
|
1275
|
+
"default": []
|
|
1273
1276
|
}
|
|
1274
1277
|
},
|
|
1275
1278
|
"additionalProperties": false
|
|
@@ -1288,7 +1291,7 @@
|
|
|
1288
1291
|
"items": {
|
|
1289
1292
|
"type": "string"
|
|
1290
1293
|
},
|
|
1291
|
-
"default":
|
|
1294
|
+
"default": []
|
|
1292
1295
|
},
|
|
1293
1296
|
"code_blocks": {
|
|
1294
1297
|
"description": "Include code blocks",
|
|
@@ -1312,7 +1315,7 @@
|
|
|
1312
1315
|
"items": {
|
|
1313
1316
|
"type": "string"
|
|
1314
1317
|
},
|
|
1315
|
-
"default":
|
|
1318
|
+
"default": []
|
|
1316
1319
|
},
|
|
1317
1320
|
"code_blocks": {
|
|
1318
1321
|
"description": "Include code blocks",
|