doc: improve formatting of STYLE_GUIDE.md#13135
Conversation
* Wrap text at 80 characters. * Use periods consistently.
doc/STYLE_GUIDE.md
Outdated
| * Use **gender-neutral pronouns** and **mass nouns**. Non-comprehensive | ||
| examples: | ||
| * **OK**: "they", "their", "them", "folks", "people", "developers", "cats" | ||
| * **OK**: "they", "their", "them", "folks", "people", "developers", "cats". |
There was a problem hiding this comment.
Nit: This line and the following line probably shouldn't end with periods because they are not sentences. They are just lists. I'm OK with using a period anyway for consistency or simplicity, but I do have a slight preference for leaving the period off in this case.
There was a problem hiding this comment.
Yeah, I wasn't sure about these. They look a bit more natural without periods.
doc/STYLE_GUIDE.md
Outdated
| * References to constructor functions should use PascalCase | ||
| * References to constructor instances should be camelCased | ||
| * References to methods should be used with parentheses: `socket.end()` instead of `socket.end` | ||
| * When using underscores, asterisks and backticks please use proper escaping |
There was a problem hiding this comment.
Nit: While we're in here, can you add a comma after asterisks and backticks. (Kind of funny that this very guide recommends using a serial comma and then misses one right here!)
doc/STYLE_GUIDE.md
Outdated
| * When using underscores, asterisks and backticks please use proper escaping | ||
| (**\\\_**, **\\\*** and **\\\`** instead of **\_**, **\*** and **\`**). | ||
| * References to constructor functions should use PascalCase. | ||
| * References to constructor instances should be camelCased. |
There was a problem hiding this comment.
Nit: be camelCased -> use camelCase
That will be consistent with the previous line and avoid awkwardly using camelCase as a verb.
doc/STYLE_GUIDE.md
Outdated
| (**\\\_**, **\\\*** and **\\\`** instead of **\_**, **\*** and **\`**). | ||
| * References to constructor functions should use PascalCase. | ||
| * References to constructor instances should be camelCased. | ||
| * References to methods should be used with parentheses: `socket.end()` instead |
There was a problem hiding this comment.
Nit: While we're in here, add for example, after the colon.
|
LGTM Landed in eebc262 |
* Wrap text at 80 characters. * Use periods consistently. PR-URL: #13135 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <mhdawson@ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
* Wrap text at 80 characters. * Use periods consistently. PR-URL: #13135 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <mhdawson@ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
* Wrap text at 80 characters. * Use periods consistently. PR-URL: #13135 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <mhdawson@ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
* Wrap text at 80 characters. * Use periods consistently. PR-URL: #13135 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <mhdawson@ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Checklist
Affected core subsystem(s)
doc