Add new rule: remark-lint-consistent-linebreaks
#292
Labels
👍 phase/yes
Post is accepted and can be worked on
🙆 yes/confirmed
This is confirmed and ready to be worked on
Initial checklist
Problem
Commonmark supports two ways to add a linebreak.
Using two spaces at the end of a line:
Using a backslash at the end of a line:
foo\ bar
It would be nice if remark could enforce consistency.
Solution
Add a new rule:
remark-lint-consistent-linebreaks
This rule enforces one style or the other, defaulting to
\
.Alternatives
People shouldn’t use line breaks in the first place, but since they do, let’s prefer the visible one over the invisible one 🤷
The text was updated successfully, but these errors were encountered: