rust-unofficial / patterns

A catalogue of Rust design patterns, anti-patterns and idioms
https://rust-unofficial.github.io/patterns/
Mozilla Public License 2.0
7.95k stars 362 forks source link

Enforce `-` for lists #177

Open MarcoIeni opened 3 years ago

MarcoIeni commented 3 years ago

Split from discussion in #175

MarcoIeni commented 3 years ago

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?

simonsan commented 3 years ago

If it's not automatically fixable probably not 🤔

MarcoIeni commented 3 years ago

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

simonsan commented 3 years ago

Yep!