mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
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:
1 parent
4513516f5e
commit
2516e9cfd0
201 files changed
+348
-348
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user