Problem/Motivation
As title, visit #3122088: [Meta] Remove spelling errors from dictionary.txt and fix them for the background.
Proposed resolution
- Remove typos
exeption|gaurd|ouptut|withut|defintionfromcore/misc/cspell/dictionary.txt - Replace
exeptionwithexception - Replace
gaurdwithguard - Replace
ouptutwithoutput - Replace
withutwithwithout - Replace
defintionwithdefinition
Command recommended for searching typos:
$ grep -irEn --exclude-dir=core/node_modules "exeption|gaurd|ouptut|withut|defintion" core composer composer.json
Verification:
Run cd core && yarn install && yarn run spellcheck:core to make sure that spelling check passes.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | interdiff-11-16.txt | 1.74 KB | jameszhang023 |
| #16 | 3159528-16.patch | 8.98 KB | jameszhang023 |
Comments
Comment #2
jameszhang023 commentedworking on this
Comment #3
jungleComment #4
jameszhang023 commentedComment #5
jungleSorry, for typoes in core/misc/cspell/dictionary.txt, they should be removed. Updating the
Proposed resolutionsection in the issue summary about this.Comment #6
jungleRescoping due to 4 of them are covered by #3156266: Fix 70 spelling mistakes.
Comment #7
jungleAdd one more: defintion -> definition
Comment #8
jungleAdd one more: defintion -> definition, I think this is enough for a new contributor.
Comment #9
jungleForgot to update the command recommended for searching typos.
Comment #10
jameszhang023 commentedComment #11
jameszhang023 commentedComment #13
junglegaurdhasn't been removed from the dictionary. #11 is a random failure, re-queued.Comment #14
longwaveThis line also needs realigning with the previous one.
Comment #15
jungleThanks @longwave for the review. Re #14. If so, I would suggest removing the redundant whitespaces before all
=>s inproviderGetFormClass()Comment #16
jameszhang023 commentedI was too careless, I have uploaded a new patch, thank you @jungle and @longwave for pointing out the problem.
Comment #17
jungleAll changes are tests relevant, no CS violations. It's good to go.
Thanks!
Comment #18
jameszhang023 commented@jungle thanks for mentoring:)
Comment #19
alexpottCommitted 38d02d6 and pushed to 9.1.x. Thanks!
Committed e8afa49 and pushed to 9.0.x. Thanks!
Backported to 8.9.x without the dictionary change and fixing the conflicts in ConfigSchemaTest
The whitespace change in PluginWithFormsTraitTest on unrelated lines is out-of-scope. Our standards allow aligning of arrays like this.
Changed back on commit.