-
-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MD007 when MD010 disabled #1010
Comments
Just because tabs are allowed in a project does not mean they will/should be used for lists. Although I think that could be specified via a parameter to the rule. |
|
With very few exceptions, rules do not change their behavior based on how other rules are configured. This project prefers spaces and provides rule MD010 to help enforce that. Disabling MD010 does not introduce a requirement to use tabs. As the specification outlines, the behavior of tab stops is not always intuitive (https://spec.commonmark.org/0.30/#tabs). It sounds like adding the parameter I propose above would satisfy your scenario. |
|
Correct: MD010 will warn about tabs when it is enabled, but will do nothing when it is disabled. |
Fix
Subject
MD007 when MD010 disabled
Object
When MD010 is disabled (hard tabs use case), it should be:
MD007.indent = 1
andMD007.start_indent = 1
by defaultThe text was updated successfully, but these errors were encountered: