mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #124] Change indent on MD030 - Property indent not allowed. #105
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#105
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 @kimfucious on GitHub (May 24, 2018).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/124
Hi there,
I'm old. Old enough that there is no way to train my thumbs to not use two spaces after certain things.
Having said that, I wanted to change the indent property for MD030 from one space to two.
When I try to add the following in vsCode user settings, I get the message:
I realize that this could be a vsCode issue, and Ive searched around for a solution, but I've come up short.
Any ideas?
@DavidAnson commented on GitHub (May 24, 2018):
There are 4 parameters to MD030: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md030
If you set them each (instead of indent), this should work for you.
@kimfucious commented on GitHub (May 24, 2018):
Excellent; thanks. That did it!
Indent was simply the wrong property to be using.
I changed ol-single and ol_multi to suit my needs, leaving the ul’s alone, as my thumb is weirdly is okay with one space on those.
Don’t hate me for this, but you use “parameters” throughout your docs, when “properties” might be a more accurate term.
Great product, MarkdownLint. Nice work! :)
@DavidAnson commented on GitHub (May 24, 2018):
Cool.
PS - They are parameters to the rule, but properties on the object. I will think more about that.