mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #1029] Set global defaults #595
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#595
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 @squishram on GitHub (Nov 5, 2023).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1029
Hi, thanks for your work on markdownlint. I am trying to disable one of the rules as a global default (MD013, which I find to be too opinionated for markdown). I don't want to have to disable it on a per-project basis in every single directory that includes .md files. I can't figure out how to make alterations to the global defaults for markdownlint - is there any way to do this? Ideally I would like to just put a config file in the right place for it to apply any edits to the defaults across my whole system. Thank you so much!
@DavidAnson commented on GitHub (Nov 5, 2023):
It sounds like you are using one of the CLI tools instead of using this library directly. Neither CLI supports global configuration. However, you shouldn't need to put a configuration file in every directory, either. One configuration file located at the root of each project should be sufficient. This gives each project a single location to look for configuration and ensures that everybody working on that project has the same set of rules (versus if everyone had their own custom global configuration).