fix: #3305083 Fix CSpell errors

Description

Fixes the errors CI's CSpell job reports, so the job can stop being allowed to fail.

Issue: https://www.drupal.org/project/entity_embed/issues/3305083

  • New .cspell-project-words.txt with the project's own terms, set as _CSPELL_DICTIONARY in .gitlab-ci.yml.
  • _CSPELL_IGNORE_PATHS: the compiled js/build/ and the CKEditor 4 to 5 upgrade plugin, which #3639510 removes.
  • Typos fixed in comments, tests and the README, including the test service ID enitty_embed_test.route_subscriber and "enity" in a CKEditor 5 console warning.
  • cspell:ignore lines for test data such as translations.
  • The CSpell job now fails the pipeline (_CSPELL_ALLOW_FAILURE: '0').

The compiled js/build/drupalentity.js keeps the console warning's typo until its next rebuild (#3639521).

AI disclosure

Claude Code (Claude Sonnet 5.5 and Opus 5.5) found and fixed the errors, chose the ignore paths and wrote this description. I decided to split the lint fixes into one MR per tool, reviewed the changes, and checked the words file only lists real project terms.

🤖 Generated with Claude Code

Edited by Dave Reid

Merge request reports

Loading
Loading