mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #1182] No bare-urls when using _redirects file #2482
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#2482
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MikePfunk28 on GitHub (Apr 20, 2024).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1182
From what I can tell it thinks my _redirects file is a markdown, when it has no extension. Using cloudflare pages, you create a _redirects file with no extension in order to write your redirects. I got this error and change my file accordingly, then realized it does not apply here.
Edit:
This happens for at least MD022, and MD025, probably every single one in this case. So maybe priority isnt low, but it doesnt break anything.
MD022/blanks-around-headings: Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below]markdownlintMD022
MD025/single-title/single-h1: Multiple top-level headings in the same documentmarkdownlintMD025
MD034/no-bare-urls: Bare URL usedmarkdownlintMD034
@DavidAnson commented on GitHub (Apr 20, 2024):
As a library, this package only lints the files/strings you pass in to it. If you don't want that file linted, don't pass it in.
If you are using this library via some other means (CLI), the same advice applies.