[GH-ISSUE #1548] MD029 with LICENSE.md file #2551

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

Originally created by @valorisa on GitHub (Mar 20, 2025).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1548

Hello,
Within a Github project, I have a problematic LICENSE.md file with numerous MD029 warnings. I don't think I can see the solution to this problem, even though it's probably very simple.
Thanks

Image
Image

Originally created by @valorisa on GitHub (Mar 20, 2025). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1548 Hello, Within a Github project, I have a problematic LICENSE.md file with numerous MD029 warnings. I don't think I can see the solution to this problem, even though it's probably very simple. Thanks ![Image](https://github.com/user-attachments/assets/94a655c3-f1d2-44b4-b5ea-2bccb41e8ea4) ![Image](https://github.com/user-attachments/assets/c770f126-4b47-43ca-b781-dc3706223771)
kerem 2026-03-07 20:08:50 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@DavidAnson commented on GitHub (Mar 20, 2025):

A few quick ideas:

  • Decide not to care about the warnings :)
  • Tell VS Code to treat that file as something other than Markdown (see VS Code documentation)
  • Use an inline comment to disable the lint rule (see this project documentation)
  • Use a configuration file to tell the extension to ignore the license file (see extension documentation)
  • Change the content indent so the license file has 1 ordered list instead of 30 separate ones
<!-- gh-comment-id:2740739847 --> @DavidAnson commented on GitHub (Mar 20, 2025): A few quick ideas: - Decide not to care about the warnings :) - Tell VS Code to treat that file as something other than Markdown (see VS Code documentation) - Use an inline comment to disable the lint rule (see this project documentation) - Use a configuration file to tell the extension to ignore the license file (see extension documentation) - Change the content indent so the license file has 1 ordered list instead of 30 separate ones
Author
Owner

@valorisa commented on GitHub (Apr 3, 2025):

sorry for the late response

<!-- gh-comment-id:2776270499 --> @valorisa commented on GitHub (Apr 3, 2025): sorry for the late response
Author
Owner

@valorisa commented on GitHub (Apr 4, 2025):

Thanks @DavidAnson. My solution to this problem : <!-- markdownlint-disable MD029 -->

Image

<!-- gh-comment-id:2778284679 --> @valorisa commented on GitHub (Apr 4, 2025): Thanks @DavidAnson. My solution to this problem : `<!-- markdownlint-disable MD029 -->` ![Image](https://github.com/user-attachments/assets/44ded1ce-54b9-4956-ab29-e02849d6c6ca)
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#2551
No description provided.