Skip to content

Commit

Permalink
rules/list-item.js cleanup comments
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
WillForan and sindresorhus authored Jan 1, 2024
1 parent a5509df commit 1affb9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/list-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ function validateList(list, file) {
}

function validateListItemLink(link, file) {
// NB. need remark-lint-no-undefined-references separately
// to catch if this is a valid reference. here we only care that it exists
// NB. We need remark-lint-no-undefined-references separately
// to catch if this is a valid reference. Here we only care that it exists.
if (link.type === 'linkReference') {
// TODO: need to test link children against listItemLinkNodeAllowList?
return true;
Expand Down

0 comments on commit 1affb9d

Please sign in to comment.