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 --- doc/api/util.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/api/util.md') diff --git a/doc/api/util.md b/doc/api/util.md index 49e3f32289..8c21bef9ae 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -159,7 +159,7 @@ const util = require('util'); const fn1 = util.deprecate(someFunction, someMessage, 'DEP0001'); const fn2 = util.deprecate(someOtherFunction, someOtherMessage, 'DEP0001'); fn1(); // emits a deprecation warning with code DEP0001 -fn2(); // does not emit a deprecation warning because it has the same code +fn2(); // Does not emit a deprecation warning because it has the same code ``` If either the `--no-deprecation` or `--no-warnings` command line flags are -- cgit v1.2.3