mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #505] .markdownlintignore use causing error #414
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#414
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 @jonesy1234 on GitHub (Mar 2, 2022).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/505
I have a pretty simple thing I'm trying to get working with using .markdownlint.json for configuration settings and .markdownlintignore files. All I want to do is get markdownlint to ignore CHANGELOG.md as we autogenerate the contents there for each release which flags
MD025/single-title/single-h1 Multiple top-level headings in the same documentThe command line just prompts the help output so doesn't like something but I can't work out what??
Are there any debug flags that I can apply to workout what is wrong? Thanks!
@DavidAnson commented on GitHub (Mar 2, 2022):
This is an issue for: https://github.com/igorshubovych/markdownlint-cli
That program will display its help text if there are no files to process. In your example, you are passing it just one file to process and also passing that file in the ignore list, so there is nothing left to do and so it displays the help text.
@jonesy1234 commented on GitHub (Mar 6, 2022):
ah cool, that makes sense. It threw me off a little as I'd assume I was facing a syntax error. Thanks