Problem/Motivation
We've updated cspell a few times, but never checked if the words we're ignoring by using that tag, entered a dictionary since they were tagged to be ignored.
Also, let's check if the changes made in #3308419: Use all the included dictionaries with cspell, where we (going to) use all included libraries can lead to less cspell:ignore [word] tags.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | 3308445-nr-bot.txt | 299.54 KB | needs-review-queue-bot |
Issue fork drupal-3308445
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
spokjeLet's wait until #3306441: Update to the latest cspell version (6.8.1) lands
Comment #3
spokjeComment #4
spokjeComment #5
spokjeRepurposed issue.
Comment #6
quietone commentedNo longer postponded
Comment #7
spokjeI think we will get a lot more words covered by dictionaries if we wait until #3308419: Use all the included dictionaries with cspell lands.
More covered words, means less exceptions with
cspell:ignore [word].So I think we postpone this issue on #3308419: Use all the included dictionaries with cspell, especially since the whole process of removing all ignore tags, recreate dictionary, check what's gone/still there, probably rinse, wash, repeat is rather time consuming.
If the above doesn't make sense, please feel free to un-postpone again.
Comment #10
spokjeComment #13
longwaveRemoved all cspell:ignore lines with
Let's see what happens.
Comment #14
longwavePostponed issue was closed as won't fix so let's just make this active again.
Comment #15
longwaveI do wonder if we should enable the
allowCompoundWordssetting which would allow words like "objectindex", or maybe on a per-file basis?Or, we can bikeshed over which ones should be added to the Drupal dictionary.
Comment #16
longwaveThe results are in: https://git.drupalcode.org/project/drupal/-/jobs/321950
Comment #17
quietone commentedThere is #3390959: Test for words in 'cspell:ignore' that can be removed which is adding a script to check that all words in a
cspell:ignoreline are still needed. I think this is a duplicate of that, or am I mistaken?Comment #18
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #19
longwave+1, wasn't following that other issue, closing this as duplicate.