Skip to content

Add missing eslint dependencies - #5851

Open
backspace wants to merge 1 commit into
mainfrom
declare-eslint-in-linting-packages
Open

Add missing eslint dependencies#5851
backspace wants to merge 1 commit into
mainfrom
declare-eslint-in-linting-packages

Conversation

@backspace

Copy link
Copy Markdown
Contributor

realm-server and software-factory use it but didn’t declare it.

Claude explanationrealm-server and software-factory run eslint but depend on it only implicitly, finding a binary hoisted from elsewhere in the workspace. Which major they lint with is therefore a property of install ordering rather than of the package, and two majors are present: most of the repo is on 8 while boxel-ui and eslint-plugin-boxel are on flat config with 9.

That resolution is easy to disturb. Bumping either @typescript-eslint or ember-eslint-parser changes how @typescript-eslint/parser's * peer picks an eslint, and both bumps independently flip these two packages to 9, where they fail outright demanding flat config:

ESLint couldn't find an eslint.config.(js|mjs|cjs) file.

Depending on eslint explicitly makes each package lint with the version it declares. No behaviour change here — both already resolve 8.57.1 on main, so this only holds that still while the dependency graph moves around it.

Nine more packages lint without declaring eslint and carry the same exposure; they are left alone because nothing has disturbed them yet, and the durable fix is one eslint major across the repo rather than a declaration per package.

realm-server and software-factory run eslint but depend on it only implicitly,
finding a binary hoisted from elsewhere in the workspace. Which major they lint
with is therefore a property of install ordering rather than of the package, and
two majors are present: most of the repo is on 8 while boxel-ui and
eslint-plugin-boxel are on flat config with 9.

That resolution is easy to disturb. Bumping either `@typescript-eslint` or
`ember-eslint-parser` changes how `@typescript-eslint/parser`'s `*` peer picks
an eslint, and both bumps independently flip these two packages to 9, where
they fail outright demanding flat config:

    ESLint couldn't find an eslint.config.(js|mjs|cjs) file.

Depending on eslint explicitly makes each package lint with the version it
declares. No behaviour change here — both already resolve 8.57.1 on main, so
this only holds that still while the dependency graph moves around it.

Nine more packages lint without declaring eslint and carry the same exposure;
they are left alone because nothing has disturbed them yet, and the durable fix
is one eslint major across the repo rather than a declaration per package.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Host Test Results

    1 files      1 suites   2h 11m 50s ⏱️
4 368 tests 4 354 ✅ 14 💤 0 ❌
4 387 runs  4 373 ✅ 14 💤 0 ❌

Results for commit cc4886a.

Realm Server Test Results

    1 files      1 suites   15m 22s ⏱️
2 206 tests 2 206 ✅ 0 💤 0 ❌
2 289 runs  2 289 ✅ 0 💤 0 ❌

Results for commit cc4886a.

@backspace
backspace requested a review from a team August 21, 2026 20:08
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.

1 participant