Closed (works as designed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
base system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 May 2021 at 22:16 UTC
Updated:
17 May 2021 at 13:50 UTC
Jump to comment: Most recent
Comments
Comment #2
quietone commentedThere are two options, only one of which is viable, a) add the word to core/misc/cspell/dictionary.txt commit-code-check or b) modify your code. The first option a) is very, very unlikely to get committed because we are working to remove words from that list not add them, see #3122088: [Meta] Remove spelling errors from dictionary.txt and fix them.
On a personal level, I do appreciate that it can be a bit of a shock that the words we want to use are not allowed. In fact, some of my favorite things have been removed from core. Even with that I have come to appreciate the reduction in visual clutter when editing.
Changing to a support request because this isn't a bug.
Does that help?
Comment #3
ressaThanks a lot for the detailed answer @quietone, that was really helpful. I agree that including an automated spell check may seem confining at first, but it will catch a lot of spelling mistakes at a minimum of effort.
I am surprised to see that a word like "template" isn't included in the list, but maybe
dictionary.txtonly contains the special words allowed, and a normal dictionary is also used to control with? That would explain "themekit" not being allowed.I renamed the folder to a certified word "subtheme", included in
dictionary.txtand hope the tests pass :)Comment #4
ressaAfter renaming the folder, and some other minor changes all the tests now pass, so thanks again for all the help.