Loading
fix: #3305083 Fix ESLint errors
Description
Fixes the errors CI's ESLint job reports, and makes ESLint errors fail the pipeline. Follows !82 (merged) (CSpell) and !83 (merged) (phpcs and Stylelint).
Issue: https://www.drupal.org/project/entity_embed/issues/3305083
.eslintignore: ignores the compiledjs/build/and the CKEditor 4 plugin injs/plugins/, which 2.0.x removes (#3639495).- Prettier formatting for the JavaScript and the test modules'
.info.ymlfiles. - Hand fixes in the CKEditor 5 plugin source and the dialog scripts: template literals,
const, method shorthand,forEachinstead offor...of, and import order.js/build/isn't rebuilt here; #3639521 rebuilds it. import/no-extraneous-dependenciesdisabled at the top of each CKEditor 5 plugin file, as core's plugins do..gitlab-ci.yml:_ESLINT_ALLOW_FAILUREset to'0'.
AI disclosure
Claude Code (Claude Sonnet and Claude Opus 5.5) fixed the ESLint errors and wrote this description. I decided to give ESLint its own MR and to ignore the CKEditor 4 plugin, reviewed the changes and switched the dependency fix to core's approach.