mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +02:00
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:
parent
cc8250fab8
commit
1f85ea979c
155 changed files with 256 additions and 244 deletions
|
@ -39,7 +39,7 @@ function execute(options) {
|
|||
});
|
||||
}
|
||||
|
||||
// should be the same except for implicit Host header on the first two
|
||||
// Should be the same except for implicit Host header on the first two
|
||||
execute({ headers: { 'x-foo': 'boom', 'cookie': 'a=1; b=2; c=3' } });
|
||||
execute({ headers: { 'x-foo': 'boom', 'cookie': [ 'a=1', 'b=2', 'c=3' ] } });
|
||||
execute({ headers: [[ 'x-foo', 'boom' ], [ 'cookie', 'a=1; b=2; c=3' ]] });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue