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/pummel | |
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/pummel')
-rw-r--r-- | test/pummel/test-https-ci-reneg-attack.js | 2 | ||||
-rw-r--r-- | test/pummel/test-timers.js | 2 | ||||
-rw-r--r-- | test/pummel/test-tls-ci-reneg-attack.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/pummel/test-https-ci-reneg-attack.js b/test/pummel/test-https-ci-reneg-attack.js index 9411d24e07..fad8cd992d 100644 --- a/test/pummel/test-https-ci-reneg-attack.js +++ b/test/pummel/test-https-ci-reneg-attack.js @@ -72,7 +72,7 @@ function test(next) { child.stdout.resume(); child.stderr.resume(); - // count handshakes, start the attack after the initial handshake is done + // Count handshakes, start the attack after the initial handshake is done let handshakes = 0; let renegs = 0; diff --git a/test/pummel/test-timers.js b/test/pummel/test-timers.js index a6766b7a33..6b761f455d 100644 --- a/test/pummel/test-timers.js +++ b/test/pummel/test-timers.js @@ -103,7 +103,7 @@ const interval4 = setInterval(function() { }, 0); -// we should be able to clearTimeout multiple times without breakage. +// We should be able to clearTimeout multiple times without breakage. let expectedTimeouts = 3; function t() { diff --git a/test/pummel/test-tls-ci-reneg-attack.js b/test/pummel/test-tls-ci-reneg-attack.js index 528ebe4516..3509dcfd43 100644 --- a/test/pummel/test-tls-ci-reneg-attack.js +++ b/test/pummel/test-tls-ci-reneg-attack.js @@ -70,7 +70,7 @@ function test(next) { child.stdout.resume(); child.stderr.resume(); - // count handshakes, start the attack after the initial handshake is done + // Count handshakes, start the attack after the initial handshake is done let handshakes = 0; let renegs = 0; |