Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
We are currently using cspell 4.2.8. cspell 5 was released last year and is currently at 5.6.6.
Recent releases are over twice as fast to regenerate the dictionary:
cspell 4.2.8:
CSpell: Files checked: 15688, Issues found: 34124 in 7861 files
Done in 463.34s.
cspell 5.6.6:
CSpell: Files checked: 15479, Issues found: 33264 in 7775 files
Done in 220.63s.
Steps to reproduce
Proposed resolution
Update to cspell@^5.0.0 and regenerate the dictionary.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
cspell has been updated from version 4 to 5, this results in some slight changes to the dictionary.
Issue fork drupal-3226052
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 #3
longwaveComment #5
longwaveI scanned through the dictionary diff and spot checked a few removals that looked odd, but it turns out they were all false positives in one way or another, so the new version of cspell is more accurate than the old which is good.
Comment #6
catchMakes sense to get this in before the 9.3 alpha.
Committed 3eba4b3 and pushed to 9.3.x. Thanks!
Comment #8
catch