Browse Source

tools: disallow trailing whitespace for markdown

markdown had a dispensation because 2 or more trailing spaces triggers a
new paragraph. There are no examples of that usage in Node, all trailing
whitespace found were mistakes, and the dispensation is now removed.

See: https://github.com/nodejs/node/pull/9620
PR-URL: https://github.com/nodejs/node/pull/9676
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
v7.x
Sam Roberts 8 years ago
committed by Anna Henningsen
parent
commit
19ca6cddcf
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 3
      .editorconfig

3
.editorconfig

@ -9,9 +9,6 @@ insert_final_newline = true
[vcbuild.bat]
end_of_line = crlf
[*.{md,markdown}]
trim_trailing_whitespace = false
[{lib,src,test}/**.js]
indent_style = space
indent_size = 2

Loading…
Cancel
Save