doc: add quotes for event names + fix similar nits
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines
I've tried to process all the patterns I could think of to unify event name mentions so that they always would be wrapped in a `'name'`
way.
During the overhaul, I've found some other nits and fixed them in passing:
- missing parentheses after function/method names;
- missing backticks around code fragments;
- missing
''
around other string values; - wrong
''
around other non-string values; - possible typos (like
`unref`d
instead of`unref`ed
); - wrong statements (like
'end'
event for readable stream instead of'finish'
event); - confusing definitions (like "
process.on('message')
event" instead of just "'message'
event"); - unneeded snake case in parameter names;
- property types omission;
- sporadic 80 chars length violations;
- a few nits in the sorting of bottom references.
These small changes can distract during reviews, but creating many PRs just for them seems to be an even bigger burden.