[GH-ISSUE #1850] MD059: Regex to avoid false flags #2607

Closed
opened 2026-03-07 20:09:17 +03:00 by kerem · 2 comments
Owner

Originally created by @jen-reeve on GitHub (Nov 10, 2025).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1850

MD059 descriptive-link-text is a touch aggressive and flagged a link because it contained the word 'where', which contains the pattern 'here'.

Full details: I've included the case where I noticed this in the attached image. The link text reads 'Tour of the git repo and where/how pages are looking for a contributor' but is still flagged for containing the word 'here'.

Image
Originally created by @jen-reeve on GitHub (Nov 10, 2025). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1850 [MD059](https://github.com/DavidAnson/markdownlint/blob/main/doc/md059.md) _descriptive-link-text_ is a touch aggressive and flagged a link because it contained the word 'where', which contains the pattern 'here'. Full details: I've included the case where I noticed this in the attached image. The link text reads 'Tour of the git repo and where/how pages are looking for a contributor' but is still flagged for containing the word 'here'. <img width="1035" height="183" alt="Image" src="https://github.com/user-attachments/assets/37e94f6d-958a-48b2-8f5e-28afa2ea99f9" />
kerem 2026-03-07 20:09:17 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@DavidAnson commented on GitHub (Nov 10, 2025):

That message is coming from some other tool. (I'd like to think I would have spelled "accessibility" correctly.)

<!-- gh-comment-id:3509658989 --> @DavidAnson commented on GitHub (Nov 10, 2025): That message is coming from some other tool. (I'd like to think I would have spelled "accessibility" correctly.)
Author
Owner

@jen-reeve commented on GitHub (Nov 10, 2025):

Ah crap, I thought I dug deep enough, I'll keep digging. And yeah hadn't even read the error message that closely. My bad! Thanks for caring about accessibility

<!-- gh-comment-id:3509971403 --> @jen-reeve commented on GitHub (Nov 10, 2025): Ah crap, I thought I dug deep enough, I'll keep digging. And yeah hadn't even read the error message that closely. My bad! Thanks for caring about *accessibility*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#2607
No description provided.