diff --git a/rules/list-item.js b/rules/list-item.js index 18da4b5..a709d61 100644 --- a/rules/list-item.js +++ b/rules/list-item.js @@ -109,7 +109,7 @@ function validateList(list, file) { let [link, ...description] = paragraph.children; // Might have children like: '{image} {text} {link} { - description}' - // Keep discarding prefix elements until we find somthing link-like. + // Keep discarding prefix elements until we find something link-like. while (link.type !== 'linkReference' && link.type !== 'link' && description.length > 1) { link = description[0]; description = description.slice(1);