Skip to content

CS-11324: upgrade eslint-plugin-ember to ^13.3.2#5088

Merged
lukemelia merged 1 commit into
mainfrom
cs-11324-eslint-plugin-ember-upgrade
Jun 3, 2026
Merged

CS-11324: upgrade eslint-plugin-ember to ^13.3.2#5088
lukemelia merged 1 commit into
mainfrom
cs-11324-eslint-plugin-ember-upgrade

Conversation

@lukemelia

Copy link
Copy Markdown
Contributor

Summary

  • Bumps the eslint-plugin-ember catalog from ^12.5.0 to ^13.3.2 for the major lint-time performance work landed in v13.
  • Bumps the four workspace packages that directly pin ember-eslint-parser (catalog, realm-server, runtime-common, eslint-plugin-boxel) from 0.5.9 to ^0.13.0, so the install resolves to a single parser copy that matches what eslint-plugin-ember@13 wants.
  • Regenerates patches/ember-eslint-parser.patch against the new ESM form of src/preprocessor/noop.js (same intent — mark the gjs/gts misconfig message fatal so CI notices).
  • Removes two now-redundant eslint-disable ember/no-test-import-export directives in @cardstack/host tests that v13 no longer flags.

Linear: CS-11324

Why now

v13 dropped support for ESLint < 8.40 (we're on ^8.57.1, fine) and Node < 20.19 (we're on Node 22/24, fine). The CJS require('ember-eslint-parser') calls in packages/eslint-plugin-boxel continue to work via Node's unflagged require(esm) support — noop.js and the parser entry have no top-level await.

Test plan

  • pnpm install resolves cleanly (single version of eslint-plugin-ember@13.3.2 and ember-eslint-parser@0.13.0)
  • pnpm --filter @cardstack/host lint (lint:js, lint:hbs, lint:types)
  • pnpm --filter @cardstack/boxel-ui lint
  • pnpm --filter @cardstack/boxel-icons lint
  • pnpm --filter @cardstack/catalog lint
  • pnpm --filter test-app lint
  • pnpm --filter @cardstack/runtime-common lint
  • pnpm --filter @cardstack/realm-server lint
  • pnpm --filter @cardstack/eslint-plugin-boxel lint
  • CI green
  • Manually compare lint wall-clock on packages/host before/after to confirm the perf win

🤖 Generated with Claude Code

Bumps the catalog entry and the four workspace packages that directly
pin ember-eslint-parser so the install resolves to a single 0.13.0
copy. v13 ships major lint-time performance improvements over v12.

Regenerates patches/ember-eslint-parser.patch against the new ESM form
of src/preprocessor/noop.js; the intent (mark the misconfig message
fatal so CI notices broken gjs/gts linting) is unchanged.

Removes two now-redundant `eslint-disable ember/no-test-import-export`
directives in @cardstack/host that v13 no longer flags.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Preview deployments

Host Test Results

    1 files      1 suites   1h 49m 10s ⏱️
2 931 tests 2 916 ✅ 15 💤 0 ❌
2 950 runs  2 935 ✅ 15 💤 0 ❌

Results for commit c9460b4.

Realm Server Test Results

    1 files      1 suites   9m 46s ⏱️
1 547 tests 1 546 ✅ 1 💤 0 ❌
1 638 runs  1 637 ✅ 1 💤 0 ❌

Results for commit c9460b4.

@lukemelia lukemelia marked this pull request as ready for review June 3, 2026 18:34
@lukemelia lukemelia requested review from a team, backspace and Copilot June 3, 2026 18:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades the repo’s Ember lint tooling to eslint-plugin-ember@^13.3.2 (for v13 performance work) and aligns ember-eslint-parser across the workspace to ^0.13.0, including updating the local pnpm patch so misconfigured Gjs/Gts linting fails CI as a fatal error.

Changes:

  • Bump eslint-plugin-ember from ^12.5.0 to ^13.3.2 in the workspace catalog and lockfile.
  • Align direct ember-eslint-parser pins across multiple workspace packages to ^0.13.0, updating the lockfile accordingly.
  • Refresh patches/ember-eslint-parser.patch for the new ESM noop.js implementation and remove now-unnecessary ember/no-test-import-export disables in host tests.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pnpm-workspace.yaml Updates the workspace catalog to eslint-plugin-ember@^13.3.2 and keeps pnpm overrides/patch config consistent.
pnpm-lock.yaml Locks the new eslint-plugin-ember/ember-eslint-parser versions and associated transitive dependency graph changes.
patches/ember-eslint-parser.patch Updates the patch hunk to match the parser’s newer ESM postprocess implementation and still forces fatal = true.
packages/runtime-common/package.json Updates the directly pinned ember-eslint-parser version range to ^0.13.0.
packages/realm-server/package.json Updates the directly pinned ember-eslint-parser version range to ^0.13.0.
packages/eslint-plugin-boxel/package.json Updates the plugin’s parser dependency to ^0.13.0 to match eslint-plugin-ember@13 expectations.
packages/catalog/package.json Updates the directly pinned ember-eslint-parser version range to ^0.13.0.
packages/host/tests/unit/queue-test.ts Removes a now-redundant eslint-disable for ember/no-test-import-export.
packages/host/tests/live-test.js Removes a now-redundant eslint-disable for ember/no-test-import-export.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@backspace

Copy link
Copy Markdown
Contributor

re speeds, comparing to the latest run on #5073:

this PR5073
CleanShot 2026-06-03 at 14 01 07@2x CleanShot 2026-06-03 at 13 59 42@2x

I don’t know that it’s definitely faster (or slower), but that doesn’t mean we shouldn’t update!

@lukemelia lukemelia merged commit bbbb166 into main Jun 3, 2026
133 of 135 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants