Skip to content

Commit b8a95d9

Browse files
sam-githubMylesBorins
authored andcommitted
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: #9620 PR-URL: #9676 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]>
1 parent de41872 commit b8a95d9

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

.editorconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ trim_trailing_whitespace = true
88
[vcbuild.bat]
99
end_of_line = crlf
1010

11-
[*.{md,markdown}]
12-
trim_trailing_whitespace = false
13-
1411
[{lib,src,test}/**.js]
1512
indent_style = space
1613
indent_size = 2

BUILDING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Prerequisites:
2020

2121
On OS X, you will also need:
2222
* [Xcode](https://developer.apple.com/xcode/download/)
23-
* You also need to install the `Command Line Tools` via Xcode. You can find
23+
* You also need to install the `Command Line Tools` via Xcode. You can find
2424
this under the menu `Xcode -> Preferences -> Downloads`
2525
* This step will install `gcc` and the related toolchain containing `make`
2626

doc/changelogs/CHANGELOG_V010.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
* [io.js](CHANGELOG_IOJS.md)
6767
* [Archive](CHANGELOG_ARCHIVE.md)
6868

69-
**Note:** Node.js v0.10 is covered by the
69+
**Note:** Node.js v0.10 is covered by the
7070
[Node.js Long Term Support Plan](https://github.com/nodejs/LTS) and
7171
will be maintained until October 2016.
7272

@@ -294,11 +294,11 @@ https://github.com/nodejs/node/commit/8d045a30e95602b443eb259a5021d33feb4df079
294294
* child_process: properly support optional args (cjihrig)
295295
* crypto: Disable autonegotiation for SSLv2/3 by default (Fedor Indutny,
296296
Timothy J Fontaine, Alexis Campailla)
297-
297+
298298
This is a behavior change, by default we will not allow the negotiation to
299299
SSLv2 or SSLv3. If you want this behavior, run Node.js with either
300300
`--enable-ssl2` or `--enable-ssl3` respectively.
301-
301+
302302
This does not change the behavior for users specifically requesting
303303
`SSLv2_method` or `SSLv3_method`. While this behavior is not advised, it is
304304
assumed you know what you're doing since you're specifically asking to use

doc/changelogs/CHANGELOG_V012.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* [io.js](CHANGELOG_IOJS.md)
3434
* [Archive](CHANGELOG_ARCHIVE.md)
3535

36-
**Note:** Node.js v0.12 is covered by the
36+
**Note:** Node.js v0.12 is covered by the
3737
[Node.js Long Term Support Plan](https://github.com/nodejs/LTS) and
3838
will be maintained until December 31st, 2016.
3939

test/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ and `setInterval`).
146146
## Common module API
147147

148148
The common.js module is used by tests for consistency across repeated
149-
tasks. It has a number of helpful functions and properties to help with
149+
tasks. It has a number of helpful functions and properties to help with
150150
writing tests.
151151

152152
### allowGlobals(...whitelist)
@@ -177,7 +177,7 @@ Check if there is more than 1gb of total memory.
177177
* `name` [&lt;String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type)
178178
* `expected` [&lt;String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) | [&lt;Array>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)
179179

180-
Tests whether `name` and `expected` are part of a raised warning.
180+
Tests whether `name` and `expected` are part of a raised warning.
181181

182182
### hasCrypto
183183
* return [&lt;Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type)

0 commit comments

Comments
 (0)