From 1f85ea979ccef3c52ec4ca3263306e527b625498 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Mon, 3 Dec 2018 17:15:45 +0100 Subject: 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 Reviewed-By: Trivikram Kamat Reviewed-By: Ujjwal Sharma Reviewed-By: Sakthipriyan Vairamani --- test/sequential/test-http-max-http-headers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/sequential/test-http-max-http-headers.js') diff --git a/test/sequential/test-http-max-http-headers.js b/test/sequential/test-http-max-http-headers.js index 1dece8beed..64358e8140 100644 --- a/test/sequential/test-http-max-http-headers.js +++ b/test/sequential/test-http-max-http-headers.js @@ -27,8 +27,8 @@ function finished(client, callback) { } function fillHeaders(headers, currentSize, valid = false) { - // llhttp counts actual header name/value sizes, excluding the whitespace and - // stripped chars. + // `llhttp` counts actual header name/value sizes, excluding the whitespace + // and stripped chars. if (getOptionValue('--http-parser') === 'llhttp') { // OK, Content-Length, 0, X-CRASH, aaa... headers += 'a'.repeat(MAX - currentSize); -- cgit v1.2.3