diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2018-12-03 17:15:45 +0100 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-12-10 17:07:18 +0100 |
commit | 1f85ea979ccef3c52ec4ca3263306e527b625498 (patch) | |
tree | f318be6ee905b1a04d1d2db859720c4b33b22aa8 /test/sequential/test-init.js | |
parent | cc8250fab86486632fdeb63892be735d7628cd13 (diff) | |
download | android-node-v8-1f85ea979ccef3c52ec4ca3263306e527b625498.tar.gz android-node-v8-1f85ea979ccef3c52ec4ca3263306e527b625498.tar.bz2 android-node-v8-1f85ea979ccef3c52ec4ca3263306e527b625498.zip |
tools: capitalize sentences
This adds the `capitalized-comments` eslint rule to verify that
actual sentences use capital letters as starting letters. It ignores
special words and all lines below 62 characters.
PR-URL: https://github.com/nodejs/node/pull/24808
Reviewed-By: Sam Ruby <rubys@intertwingly.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'test/sequential/test-init.js')
-rw-r--r-- | test/sequential/test-init.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sequential/test-init.js b/test/sequential/test-init.js index 1b1b09ee83..a86a1fd045 100644 --- a/test/sequential/test-init.js +++ b/test/sequential/test-init.js @@ -43,7 +43,7 @@ function test(file, expected) { } { - // change CWD as we do this test so it's not dependent on current CWD + // Change CWD as we do this test so it's not dependent on current CWD // being in the test folder process.chdir(__dirname); test('test-init', 'Loaded successfully!'); @@ -57,7 +57,7 @@ function test(file, expected) { } { - // ensures that `node fs` does not mistakenly load the native 'fs' module + // Ensures that `node fs` does not mistakenly load the native 'fs' module // instead of the desired file and that the fs module loads as // expected in node process.chdir(fixtures.path('test-init-native')); |