Remark rules do not seem to account for sub-bullets #255
Labels
🙋 no/question
This does not need any changes
🙉 open/needs-info
This needs some more info
👎 phase/no
Post cannot or will not be acted on
🐛 type/bug
This is a problem
In Markdown, it is common to have a list with sub-bullets. For example:
On GitHub, this is auto-formatted to:
I'm using the following
.remarkrc
file:With the following version:
In
remark-lint
land, thelist-item-indent
will choke on this code snippet with the following warning:However, this is a pretty bad suggestion, because when we follow the advice:
GitHub will incorrectly format that to:
No problem. Let's just ignore this particular rule, the
list-item-indent
rule.However,
remark-lint
still chokes:list-item-spacing
logic does not understand that this is a "tight" list, so it spuriously wants a new line.list-item-content-indent
doesn't understand that sub-bullets exist and assumes that you made a typo.Right now, I am completely disabling all 3 of these rules (e.g.
list-item-indent
,list-item-content-indent
list-item-spacing
), but it would be nice to be able to get their benefits.The text was updated successfully, but these errors were encountered: