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>
This commit is contained in:
Ruben Bridgewater 2018-12-03 17:15:45 +01:00
parent cc8250fab8
commit 1f85ea979c
No known key found for this signature in database
GPG key ID: F07496B3EB3C1762
155 changed files with 256 additions and 244 deletions

View file

@ -36,7 +36,7 @@ const keepAliveAgent = new http.Agent({
const countdown = new Countdown(N, () => {
server.close(() => {
// give the server sockets time to close (which will also free their
// Give the server sockets time to close (which will also free their
// associated parser objects) after the server has been closed.
setTimeout(() => {
createdIds.forEach((createdAsyncId) => {