[GH-ISSUE #245] Add support .markdownlintignore #2057

Closed
opened 2026-03-07 20:04:07 +03:00 by kerem · 3 comments
Owner

Originally created by @Yegorich555 on GitHub (Jan 3, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/245

Every linter (stylelint, eslint) supports .ignore file for excluding files from linting. When I run
markdownlint **/*.md command from it checks node_modules folder and this is stupid. I can add this folder via markdownlint **/*.md --ignore node_modules but this is doesn't match with best practices.

I would like to use .markdownlintignore file for excluding files/folders

Originally created by @Yegorich555 on GitHub (Jan 3, 2020). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/245 Every linter (stylelint, eslint) supports **.ignore** file for excluding files from linting. When I run ```markdownlint **/*.md``` command from it checks **node_modules** folder and this is stupid. I can add this folder via ```markdownlint **/*.md --ignore node_modules``` but this is doesn't match with best practices. I would like to use **.markdownlintignore** file for excluding files/folders
kerem closed this issue 2026-03-07 20:04:07 +03:00
Author
Owner

@DavidAnson commented on GitHub (Jan 3, 2020):

I am halfway through making this change, actually!

You can track it here: https://github.com/igorshubovych/markdownlint-cli/issues/61

<!-- gh-comment-id:570647083 --> @DavidAnson commented on GitHub (Jan 3, 2020): I am halfway through making this change, actually! You can track it here: https://github.com/igorshubovych/markdownlint-cli/issues/61
Author
Owner

@Yegorich555 commented on GitHub (Jan 4, 2020):

Nice to know. Thank you

<!-- gh-comment-id:570769744 --> @Yegorich555 commented on GitHub (Jan 4, 2020): Nice to know. Thank you
Author
Owner

@DavidAnson commented on GitHub (Jan 4, 2020):

I hope to release a new CLI with this feature over the weekend.

<!-- gh-comment-id:570805690 --> @DavidAnson commented on GitHub (Jan 4, 2020): I hope to release a new CLI with this feature over the weekend.
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#2057
No description provided.