mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #317] Question: markdownlint doesn't seem to be reading .markdownlint.json #272
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#272
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 @FilBot3 on GitHub (Aug 13, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/317
I have a little sample project I was trying to use
The
.markdownlint.jsonfile has the following contents:and my
00_introduction.mdfile has multiple#headers, which is what I want. However, markdownlint doesn't seem to be reading it. Am I doing this correctly?@FilBot3 commented on GitHub (Aug 13, 2020):
I have this same
.markdownlint.jsonin other folders and it seems to work there. Even a.yamlversion of this file. I don't understand why it's not being loaded or applied to the project above.@DavidAnson commented on GitHub (Aug 13, 2020):
What tool are you using? Probably the CLI or VS Code extension? If you're using the CLI, what command line are you using?
As you say, this same file works elsewhere, so what do you think is special about this situation? Do you have a pointer to a repository that demonstrates the problem?
@FilBot3 commented on GitHub (Aug 18, 2020):
I am using Vim with coc.nvim and the coc-markdownlint plugin. Form my tinkering around, it seems that unless my folder is a Git repository, my
.markdownlint.jsonwasn't getting loaded or something. This may not be an issue with this application itself and may be more of an issue with the coc-markdownlint plugin.@DavidAnson commented on GitHub (Aug 18, 2020):
Agreed. Please open an issue against that tool. The
markdownlintlibrary doesn’t handle this scenario. (It just exposes a helper function to load files it is specifically asked to.)@FilBot3 commented on GitHub (Aug 18, 2020):
Thank you for your quick responses, @DavidAnson !