mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05: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:
1 parent
ad6104dbac
commit
e140d41789
156 files changed
+774
-244
No files matched your search
@@ -20,7 +20,7 @@
|
||||
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
'use strict';
|
||||
// verify that the string decoder works getting 1 byte at a time,
|
||||
// Verify that the string decoder works getting 1 byte at a time,
|
||||
// the whole buffer at once, and that both match the .toString(enc)
|
||||
// result of the entire buffer.
|
||||
|
||||
|
||||
Reference in new issue
Block a user