.editorconfig: disallow trailing whitespace for markdown again
Although trailing whitespace is significant, there's no good reason to use that feature.
This commit is contained in:
parent
fbc4d64b50
commit
e98047818e
1 changed files with 6 additions and 3 deletions
|
@ -55,10 +55,13 @@ trim_trailing_whitespace = unset
|
||||||
[*.lock]
|
[*.lock]
|
||||||
indent_size = unset
|
indent_size = unset
|
||||||
|
|
||||||
# trailing whitespace is an actual syntax element of classic Markdown/
|
# Although Markdown/CommonMark allows using two trailing spaces to denote
|
||||||
# CommonMark to enforce a line break
|
# a hard line break, we do not use that feature in nixpkgs since
|
||||||
|
# it forces the surrounding paragraph to become a <literallayout> which
|
||||||
|
# does not wrap reasonably.
|
||||||
|
# Instead of a hard line break, start a new paragraph by inserting a blank line.
|
||||||
[*.md]
|
[*.md]
|
||||||
trim_trailing_whitespace = unset
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
# binaries
|
# binaries
|
||||||
[*.nib]
|
[*.nib]
|
||||||
|
|
Loading…
Reference in a new issue