-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix ignored typos due to 'allowCompoundWords:true' setting #36004
Conversation
c6f6d0d
to
722c546
Compare
I don't think having a "blocklist" of typos is a good idea. I think we should turn off |
Co-authored-by: Brian Thomas Smith <[email protected]>
files/en-us/web/javascript/reference/errors/unexpected_token/index.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you 👍🏻
files/en-us/web/javascript/reference/errors/unexpected_token/index.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome! I'm excided about all the new typos.
files/en-us/web/javascript/reference/errors/not_a_function/index.md
Outdated
Show resolved
Hide resolved
* fix ignored typos due to 'allowCompoundWords:true' setting * add missed words as flag words * remove allowCompoundWords setting * Update files/en-us/web/mathml/element/mfenced/index.md * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Brian Thomas Smith <[email protected]> * Update files/en-us/web/javascript/reference/errors/unexpected_token/index.md * Update files/en-us/web/javascript/reference/errors/unexpected_token/index.md * Update files/en-us/web/javascript/reference/errors/not_a_function/index.md --------- Co-authored-by: Brian Thomas Smith <[email protected]> Co-authored-by: Joshua Chen <[email protected]>
The
allowCompundWords
setting in cSpell allows words likewritingsuggestions
andpopovertargetaction
. Without the setting, we would have to add these words to one of the ignore lists. But this has caused quite a lot of typos to fly under the radar, such asprogess
,demonstates
,diragram
etc.The PR fixes missed typos.
Also, withallowCompundWords
on, we'll have to mark these words to be flagged explicitly. This has been done in the second commit, but we'll have to keep looking for such words in the future and adding them to the lists.I suggest, instead of doing the above, we turn off the setting and explicitly add found compound words to terms/ignore lists. And camelCase the variable names as much as possible. We'll have to add the following existing 241 compound words to the ignore lists: