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>
This commit is contained in:
Sam Roberts 2016-11-18 09:40:45 -08:00
parent 13c4f44e97
commit 3cbb553df8
6 changed files with 8 additions and 11 deletions

View File

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