tools: add 'spaced-comment' into eslint rules

PR-URL: https://github.com/nodejs/node/pull/19596
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
Weijia Wang 2018-03-25 22:27:38 +08:00
parent f89f79893d
commit 254058109f
59 changed files with 169 additions and 193 deletions

View file

@ -132,7 +132,7 @@ assert.throws(function() {
// If length can be converted to a number, it will be.
assert.deepStrictEqual(Buffer.from(ab, 0, [1]), Buffer.from(ab, 0, 1));
//If length is Infinity, throw.
// If length is Infinity, throw.
common.expectsError(() => {
Buffer.from(ab, 0, Infinity);
}, {