Closed nkuehn closed 2 years ago
seen: NodeJS, Nodejs, node.js, node (the latter can't be disambiguated but is here for completeness)
should be: Node.js
reference: https://nodejs.org/en/
seen:
should be allowed.
Rule: Acronyms.
seen: .NET (correct, but the linter thinks we forgot a space after the end of a sentence)
should be allowed
For awareness (not seen yet): We can warn or block race and slavery related metaphors technical language as it was brought up by various open source projects. For example
It's covered in Google's writing style that we base on but not checked in this automated checker. https://developers.google.com/style/inclusive-documentation#features-and-users
@stmeissner found this in a release note:
maybe already covered in our weasel words but occurred in a recent docs PR: "upgraders", like absolute, utterly, overly
Here's a repository with a lot of various style guide rules for inspiration to pick things from: https://github.com/testthedocs/vale-styles
deactivate "Vale.spelling" rule - I am adding suggestions to the configuration of the VSCode workspace, but the spelling is dominating the output and is not of good quality. The VScode spellright plugin does a better job by using the operating system spell checker.
Currently we have no guideline for abbreviations of high numbers. like 1 million.
In a PR I found 1M
as acronym, but this is not covered by the Google Style Guide.
One option is to forbid such abbreviations at all since they are rather used as unit of measurements for which we have clearer rules, e.g. 1 MB for one megabyte.
Currently we have no guideline for abbreviations of high numbers. like 1 million. In a PR I found
1M
as acronym, but this is not covered by the Google Style Guide. One option is to forbid such abbreviations at all since they are rather used as unit of measurements for which we have clearer rules, e.g. 1 MB for one megabyte.
I like the idea of eliminating unnecessary abbreviations like this. 👍
In a PR I found
1M
as acronym, but this is not covered by the [Google Style Guide]
Please see https://developers.google.com/style/units-of-measure , it's "implicitly covered" as the google style explicitly allows "5k" (small "k" for thousands) as an exemption, but not "3m" for millions. The question is technically not about units as measure but they seem to cover it on that page (i guess because it's usually coming up alongside with "KB" vs. "kilobyte" vs. "Kb" etc.)
For awareness (not seen yet): We can warn or block race and slavery related metaphors technical language as it was brought up by various open source projects. For example
- whitelist(ed) -> allowed, good, ...
- blackliste(ed) -> disallowed, forbidden, ...
- master
- slave
- native (feature)
- ...
It's covered in Google's writing style that we base on but not checked in this automated checker. https://developers.google.com/style/inclusive-documentation#features-and-users
FYI: There is already an issue for discussion in the fe-chapter-notes repository.
commercetools set terms:
"CORS" - spelling it out does not explain it better.
The Vale VSCode plugin now supports configuring it to show "suggestion" level rules in the editor without running them on GitHub too (and annoying everybody).
I tried it, its nice for some things but the current state of the rules show enormous numbers of suggestions of whom most that are not a fit for us are from the "write-good" ruleset. I think it would be good to pick a few purely stylistic rules and show them to authors as suggestions, but the current state makes the editor UI very annoying.
In the Docs Smoke Test we have the term "chapter" in the left hand navigation, but the style checker currently reports a warning about this:
Use 'document, page, or section' instead of 'chapter' (case insensitive).
"VAT" acronym for value added tax can be allowed in a commerce environment.
"VAT" acronym for value added tax can be allowed in a commerce environment.
Added to acronyms.yml in PR #840
seen:
- "USA" is forbidden
- "NPM" is forbidden (the node package manager, but nobody spells it out in real life)
should be allowed.
Rule: Acronyms.
Added to acronyms.yml in PR #840
Notes from working through the rules with @timonrey :
ZEIT
in acronyms can be removed, the brand is "Vercel" nowWordList_Suggestions
that is set to level suggestion and gives a hint "consider using X instead of X"ImpEx
is correct. Vale.Spelling
to NO
in the config so we can explore enabling suggestion level in VSCode. 1M
discussion and copy the three comments above over.
this issue serves as a place to collect improvement ideas for the writing style linter rules. Please add ideas as comments
Implementation will be done periodically.