patterns icon indicating copy to clipboard operation
patterns copied to clipboard

Enforce `-` for lists

Open marcoieni opened this issue 4 years ago • 4 comments

Split from discussion in #175

  • [x] check if markdownlint allow this (answer: yes)
  • [x] check if automatic fix is available (answer: not yet)

marcoieni avatar Jan 06 '21 11:01 marcoieni

Markdownlint allows this check, it is sufficient to add this to .markdownlint.yaml:

MD004:
  style: dash

The bad news is that it is not automatically fixed with markdownlint -f '**/*.md'. @simonsan do we still want to enforce this?

marcoieni avatar Jan 06 '21 14:01 marcoieni

If it's not automatically fixable probably not 🤔

simonsan avatar Jan 06 '21 14:01 simonsan

I think we can consider this issue blocked by this, right?

marcoieni avatar Jan 06 '21 14:01 marcoieni

Yep!

simonsan avatar Jan 06 '21 14:01 simonsan