@@ -146,13 +146,13 @@ function trough() {
146
146
}
147
147
}
148
148
}
149
- function use(middleware ) {
150
- if (typeof middleware !== 'function') {
149
+ function use(middelware ) {
150
+ if (typeof middelware !== 'function') {
151
151
throw new TypeError(
152
- 'Expected `middleware ` to be a function, not ' + middleware
152
+ 'Expected `middelware ` to be a function, not ' + middelware
153
153
)
154
154
}
155
- fns.push(middleware );
155
+ fns.push(middelware );
156
156
return pipeline
157
157
}
158
158
}
@@ -9936,15 +9936,15 @@ function exitParagraphWithTaskListItem(token) {
9936
9936
if (head && head.type === 'text') {
9937
9937
const siblings = parent.children;
9938
9938
let index = -1;
9939
- let firstParagraph ;
9939
+ let firstParaghraph ;
9940
9940
while (++index < siblings.length) {
9941
9941
const sibling = siblings[index];
9942
9942
if (sibling.type === 'paragraph') {
9943
- firstParagraph = sibling;
9943
+ firstParaghraph = sibling;
9944
9944
break
9945
9945
}
9946
9946
}
9947
- if (firstParagraph === node) {
9947
+ if (firstParaghraph === node) {
9948
9948
head.value = head.value.slice(1);
9949
9949
if (head.value.length === 0) {
9950
9950
node.children.shift();
@@ -14904,7 +14904,7 @@ const remarkLintCodeBlockStyle = lintRule$1(
14904
14904
*
14905
14905
* ## What is this?
14906
14906
*
14907
- * This package checks the whitespace in definition labels.
14907
+ * This package checks the whitepsace in definition labels.
14908
14908
*
14909
14909
* GFM footnotes are not affected by this rule as footnote labels cannot
14910
14910
* contain whitespace.
@@ -15609,7 +15609,7 @@ const remarkLintFileExtension = lintRule$1(
15609
15609
* ## Recommendation
15610
15610
*
15611
15611
* There are different strategies for placing definitions.
15612
- * The simplest is perhaps to place them all at the bottom of documents.
15612
+ * The simplest is perhaps to place them all at the bottem of documents.
15613
15613
* If you prefer that, turn on this rule.
15614
15614
*
15615
15615
* [api-remark-lint-final-definition]: #unifieduseremarklintfinaldefinition
@@ -17136,7 +17136,7 @@ const remarkLintNoHeadingIndent = lintRule$1(
17136
17136
* @example
17137
17137
* {"label": "output", "name": "not-ok.md"}
17138
17138
*
17139
- * 3:1-3:10: Unexpected duplicate toplevel heading, expected a single heading with rank `1`
17139
+ * 3:1-3:10: Unexpected duplicate toplevel heading, exected a single heading with rank `1`
17140
17140
*
17141
17141
* @example
17142
17142
* {"config": 2, "label": "input", "name": "not-ok.md"}
@@ -17147,7 +17147,7 @@ const remarkLintNoHeadingIndent = lintRule$1(
17147
17147
* @example
17148
17148
* {"config": 2, "label": "output", "name": "not-ok.md"}
17149
17149
*
17150
- * 3:1-3:11: Unexpected duplicate toplevel heading, expected a single heading with rank `2`
17150
+ * 3:1-3:11: Unexpected duplicate toplevel heading, exected a single heading with rank `2`
17151
17151
*
17152
17152
* @example
17153
17153
* {"label": "input", "name": "html.md"}
@@ -17160,7 +17160,7 @@ const remarkLintNoHeadingIndent = lintRule$1(
17160
17160
* @example
17161
17161
* {"label": "output", "name": "html.md"}
17162
17162
*
17163
- * 5:1-5:14: Unexpected duplicate toplevel heading, expected a single heading with rank `1`
17163
+ * 5:1-5:14: Unexpected duplicate toplevel heading, exected a single heading with rank `1`
17164
17164
*
17165
17165
* @example
17166
17166
* {"label": "input", "mdx": true, "name": "mdx.mdx"}
@@ -17172,7 +17172,7 @@ const remarkLintNoHeadingIndent = lintRule$1(
17172
17172
* @example
17173
17173
* {"label": "output", "mdx": true, "name": "mdx.mdx"}
17174
17174
*
17175
- * 4:1-4:14: Unexpected duplicate toplevel heading, expected a single heading with rank `1`
17175
+ * 4:1-4:14: Unexpected duplicate toplevel heading, exected a single heading with rank `1`
17176
17176
*/
17177
17177
const htmlRe = /<h([1-6])/;
17178
17178
const jsxNameRe = /^h([1-6])$/;
@@ -17205,7 +17205,7 @@ const remarkLintNoMultipleToplevelHeadings = lintRule$1(
17205
17205
if (duplicateAncestors) {
17206
17206
const duplicate = duplicateAncestors.at(-1);
17207
17207
file.message(
17208
- 'Unexpected duplicate toplevel heading, expected a single heading with rank `' +
17208
+ 'Unexpected duplicate toplevel heading, exected a single heading with rank `' +
17209
17209
rank +
17210
17210
'`',
17211
17211
{
0 commit comments