doc,lib,test: capitalize comment sentences

This activates the eslint capitalize comment rule for comments
above 50 characters.

PR-URL: https://github.com/nodejs/node/pull/24996
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Ruben Bridgewater authored and Myles Borins committed 2018-12-25 02:35:52 -05:00
1 parent 4513516f5e
commit 2516e9cfd0
201 files changed
+348 -348

No files matched your search

+3 -3
View File
@@ -22,10 +22,10 @@
'use strict';
require('../common');
const assert = require('assert');
// minimum string size to overflow into external string space
// Minimum string size to overflow into external string space
const EXTERN_APEX = 0xFBEE9;
// manually controlled string for checking binary output
// Manually controlled string for checking binary output
let ucs2_control = 'a\u0000';
let write_str = 'a';
@@ -56,7 +56,7 @@ for (let i = 0; i < b.length; i += 2) {
assert.strictEqual(b[i + 1], 0);
}
// create another string to create an external string
// Create another string to create an external string
const b_ucs = b.toString('ucs2');
// check control against external binary string