Skip to content

Update to ESLint v10 (and babel v8)#199

Merged
davidtaylorhq merged 5 commits into
mainfrom
eslint-10-upgrade
Jun 24, 2026
Merged

Update to ESLint v10 (and babel v8)#199
davidtaylorhq merged 5 commits into
mainfrom
eslint-10-upgrade

Conversation

@davidtaylorhq

@davidtaylorhq davidtaylorhq commented May 18, 2026

Copy link
Copy Markdown
Member

No description provided.

@davidtaylorhq davidtaylorhq force-pushed the eslint-10-upgrade branch 2 times, most recently from 075d14d to 3cb18fa Compare May 18, 2026 09:59
dependabot Bot and others added 3 commits June 24, 2026 09:53
Bumps [eslint](https://github.com/eslint/eslint) from 9.39.2 to 10.4.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.39.2...v10.4.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
ESLint 10 dropped several deprecated APIs:
- context.getSourceCode() -> context.sourceCode
- context.getFilename() -> context.filename
- RuleTester invalid errors no longer accept 'type'

It also rewrote the scope manager interface (addGlobals method).
That cascades through the toolchain:

- @babel/eslint-parser 8.0.0-rc.5 is the first release producing
  the new scope manager. It removed the experimental-worker
  subpath that ember-eslint-parser still hard-requires.
- ember-eslint-parser is patched to fall back to the main entry
  when experimental-worker isn't present.
- eslint-plugin-decorator-position 6.1.0 and
  eslint-plugin-sort-class-members 1.22.1 are the first releases
  that don't call removed context.* methods.
- eslint-plugin-ember 13.3.0 is the first release with eslint-10
  peer support.

The babel deps land on RC tags because there is no stable @babel/core
8 yet; the rest of the bumps target stable versions.
@davidtaylorhq davidtaylorhq changed the title ESLint 10 upgrade proof-of-concept Update to ESLint v10 (and babel v8) Jun 24, 2026
@davidtaylorhq davidtaylorhq marked this pull request as ready for review June 24, 2026 14:54
@davidtaylorhq davidtaylorhq merged commit 3637af4 into main Jun 24, 2026
2 checks passed
@davidtaylorhq davidtaylorhq deleted the eslint-10-upgrade branch June 24, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants