mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #162] default config for a repo #140
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#140
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 @yankeeinlondon on GitHub (Jan 11, 2019).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/162
Possibly this is a documentation issue but I want a way to add a config file to the root of one of my repo to ignore certain rules and add others. In the docs I see a way to change rules with frontmatter and HTML comments but not as a default config file.
@DavidAnson commented on GitHub (Jan 11, 2019):
This package provides a function that you call with whatever input you choose. If you want to standardize on a configuration file of a particular name in a particular place when calling it, that is under your control.
That said, if you are (also) using
markdownlint-cliorvscode-markdownlint, both automatically apply any rule configuration you have in a file named.markdownlint.json.Here’s some documentation about that: https://github.com/DavidAnson/vscode-markdownlint/blob/master/README.md#markdownlintconfig
And an example: https://github.com/DavidAnson/vscode-markdownlint/blob/master/.markdownlint.json