mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Fix invalid link definition syntax in break-all-the-rules.md.
This commit is contained in:
parent
c1df46f607
commit
57c612cfa4
4 changed files with 13 additions and 9 deletions
|
|
@ -96,6 +96,8 @@ Strong **with** different style {MD050}
|
||||||
[Missing link fragment](#missing) {MD051}
|
[Missing link fragment](#missing) {MD051}
|
||||||
|
|
||||||
[Missing link][label] {MD052}
|
[Missing link][label] {MD052}
|
||||||
[unused]: link-destination {MD053}
|
|
||||||
|
[unused]: link-destination
|
||||||
|
{MD053:100}
|
||||||
|
|
||||||
EOF {MD047}
|
EOF {MD047}
|
||||||
|
|
@ -477,13 +477,13 @@ test("styleAll", (t) => new Promise((resolve) => {
|
||||||
"MD042": [ 81 ],
|
"MD042": [ 81 ],
|
||||||
"MD045": [ 85 ],
|
"MD045": [ 85 ],
|
||||||
"MD046": [ 49, 73, 77 ],
|
"MD046": [ 49, 73, 77 ],
|
||||||
"MD047": [ 101 ],
|
"MD047": [ 103 ],
|
||||||
"MD048": [ 77 ],
|
"MD048": [ 77 ],
|
||||||
"MD049": [ 90 ],
|
"MD049": [ 90 ],
|
||||||
"MD050": [ 94 ],
|
"MD050": [ 94 ],
|
||||||
"MD051": [ 96 ],
|
"MD051": [ 96 ],
|
||||||
"MD052": [ 98 ],
|
"MD052": [ 98 ],
|
||||||
"MD053": [ 99 ]
|
"MD053": [ 100 ]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
@ -525,13 +525,13 @@ test("styleRelaxed", (t) => new Promise((resolve) => {
|
||||||
"MD042": [ 81 ],
|
"MD042": [ 81 ],
|
||||||
"MD045": [ 85 ],
|
"MD045": [ 85 ],
|
||||||
"MD046": [ 49, 73, 77 ],
|
"MD046": [ 49, 73, 77 ],
|
||||||
"MD047": [ 101 ],
|
"MD047": [ 103 ],
|
||||||
"MD048": [ 77 ],
|
"MD048": [ 77 ],
|
||||||
"MD049": [ 90 ],
|
"MD049": [ 90 ],
|
||||||
"MD050": [ 94 ],
|
"MD050": [ 94 ],
|
||||||
"MD051": [ 96 ],
|
"MD051": [ 96 ],
|
||||||
"MD052": [ 98 ],
|
"MD052": [ 98 ],
|
||||||
"MD053": [ 99 ]
|
"MD053": [ 100 ]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
|
||||||
|
|
@ -6179,7 +6179,7 @@ Generated by [AVA](https://avajs.dev).
|
||||||
insertText: `␊
|
insertText: `␊
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
lineNumber: 101,
|
lineNumber: 103,
|
||||||
ruleDescription: 'Files should end with a single newline character',
|
ruleDescription: 'Files should end with a single newline character',
|
||||||
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md047.md',
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md047.md',
|
||||||
ruleNames: [
|
ruleNames: [
|
||||||
|
|
@ -6273,16 +6273,16 @@ Generated by [AVA](https://avajs.dev).
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
errorContext: '[unused]: link-destination {MD...',
|
errorContext: '[unused]: link-destination',
|
||||||
errorDetail: 'Unused link or image reference definition: "unused"',
|
errorDetail: 'Unused link or image reference definition: "unused"',
|
||||||
errorRange: [
|
errorRange: [
|
||||||
1,
|
1,
|
||||||
34,
|
26,
|
||||||
],
|
],
|
||||||
fixInfo: {
|
fixInfo: {
|
||||||
deleteCount: -1,
|
deleteCount: -1,
|
||||||
},
|
},
|
||||||
lineNumber: 99,
|
lineNumber: 100,
|
||||||
ruleDescription: 'Link and image reference definitions should be needed',
|
ruleDescription: 'Link and image reference definitions should be needed',
|
||||||
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md053.md',
|
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md053.md',
|
||||||
ruleNames: [
|
ruleNames: [
|
||||||
|
|
@ -6392,6 +6392,8 @@ Generated by [AVA](https://avajs.dev).
|
||||||
␊
|
␊
|
||||||
[Missing link][label] {MD052}␊
|
[Missing link][label] {MD052}␊
|
||||||
␊
|
␊
|
||||||
|
{MD053:100}␊
|
||||||
|
␊
|
||||||
EOF {MD047}␊
|
EOF {MD047}␊
|
||||||
`,
|
`,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue