Uh oh!
There was an error while loading. Please reload this page.
tools: capitalize sentences - #24808
Conversation
BridgeAR
commented
Dec 3, 2018
As a note: this rule is able to autofix. |
Uh oh!
There was an error while loading. Please reload this page.
54fd67c to
f89cbcdCompareBridgeAR
commented
Dec 5, 2018
This needs some reviews. @nodejs/documentation PTAL (it is somewhat loosely related to docs). |
BridgeAR
commented
Dec 6, 2018
@nodejs/linting PTAL |
f89cbcd to
2c65b85CompareBridgeAR
commented
Dec 6, 2018
Uh oh!
There was an error while loading. Please reload this page.
Trott
left a comment
There was a problem hiding this comment.
Since a review was requested from me:
No objection. I'm not a fan of all the churn for something like this, but I'm also not a fan of watching nit after nit to newcomer contributors telling them to capitalize comments, so I'm good with it.
One nit on the commit message: I'd prefer if "comments" appeared somewhere in the first line of the commit message so that someone scanning commits doesn't think this is about other text.
Trott
commented
Dec 8, 2018
Needs a rebase. (One test was moved from parallel to sequential.) |
ryzokuken
commented
Dec 8, 2018
I see where you're coming from. That said, I think it's important that nits like these are handled by the tooling. Ideally, IMHO, there should be no nits on the actual PR. The linting setup should be powerful enough to take care of all possible nits and more. This PR helps in that respect, I feel. |
Trott
commented
Dec 8, 2018
@ryzokuken Yeah, that's what I was trying to say. I'm not a fan of Collaborators leaving nits about this sort of thing all the time. I'd prefer the tooling do it. So, despite the churn, I"m OK with this. |
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.
31e2b32 to
26d88c8CompareBridgeAR
commented
Dec 10, 2018
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: nodejs#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>
BridgeAR
commented
Dec 10, 2018
Landed in 1f85ea9 |
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: #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 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: nodejs#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 adds the
capitalized-commentseslint rule to verify thatactual sentences use capital letters as starting letters. It ignores
special words and all lines below 62 characters. That way it will
mainly detect sentences. This way the code changes are kept low.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes