[Tracker]
Update Summary: [One-line status update for stakeholders]
Short Description: Remove duplicate entries from .cspell-project-words.txt for 2.x
Check-in Date: MM/DD/YYYY
[/Tracker]

Problem/Motivation

The .cspell-project-words.txt file currently has 406 entries, of which 73 are case-insensitive duplicates. Words have been added multiple times with different capitalization (e.g. the same word appearing as both lowercase and capitalized). This makes the file unnecessarily large and harder to maintain.

Proposed resolution

  • Run a deduplication script that removes exact case-insensitive duplicates, keeping only one entry per word (lowercase).
  • Sort the file alphabetically for easier maintenance.
  • Example one-liner: sort -uf .cspell-project-words.txt -o .cspell-project-words.txt

AI usage (if applicable)

[x] AI Assisted Issue
This issue was generated with AI assistance, but was reviewed and refined by the creator.

[ ] AI Assisted Code
[ ] AI Generated Code
[ ] Vibe Coded

- This issue was created with the help of AI

Issue fork ai-3582764

Command icon 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

marcus_johansson created an issue. See original summary.

shivamsen_12579 made their first commit to this issue’s fork.

shivamsen_12579’s picture

Status: Active » Needs review
marcus_johansson’s picture

Status: Needs review » Needs work

This should be merged with 2.x - the current MR is trying to merge with 1.x and have a lot of changes.

shivamsen_12579’s picture

Status: Needs work » Needs review
marcus_johansson’s picture

Status: Needs review » Needs work

This still has cspell issues, so something wasn't merged correctly, see: https://git.drupalcode.org/issue/ai-3582764/-/jobs/9261675