mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-24 01:40:13 +01:00
This commit is contained in:
parent
460836445c
commit
10f095c4fd
32 changed files with 3149 additions and 333 deletions
|
|
@ -23,7 +23,7 @@ module.exports = {
|
|||
};
|
||||
// Look for unused link references (unreferenced by any link/image)
|
||||
for (const definition of definitions.entries()) {
|
||||
const [ label, lineIndex ] = definition;
|
||||
const [ label, [ lineIndex ] ] = definition;
|
||||
if (
|
||||
!ignored.has(label) &&
|
||||
!references.has(label) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue