Situation
- The repo is configured for ESLint 9.x
- ESLint 9.x transitions into EOL on 2026-08-06
- Linting config is external through
"@yarnpkg/eslint-config": "^3.0.0" pinned to @yarnpkg/eslint-config@3.1.0 (current latest, published in Sep 2025)
Assessment
@yarnpkg/eslint-config@3.1.0 is not compatible with ESLint 10.x
Attempting an update to ESLint 10.4.0 (current latest) produces an error:
TypeError: Error while loading rule 'arca/import-ordering': context.getSourceCode is not a function
The transient dependency eslint-plugin-arca belonging to @arcanis is outdated. It uses ESLint 7 in its devDependencies EOL 2022-04-09 and it uses the deprecated context.getSourceCode() (Source repo https://github.com/arcanis/eslint-plugin-arca).
Options
- Work with Yarn Berry to produce a new release of @yarnpkg/eslint-config, compatible with ESLint 10.x
- Remove the external dependency @yarnpkg/eslint-config and create an equivalent ESLint configuration directly into the Corepack repo
Situation
"@yarnpkg/eslint-config": "^3.0.0"pinned to@yarnpkg/eslint-config@3.1.0(currentlatest, published in Sep 2025)Assessment
@yarnpkg/eslint-config@3.1.0is not compatible with ESLint 10.xAttempting an update to ESLint 10.4.0 (current
latest) produces an error:The transient dependency eslint-plugin-arca belonging to @arcanis is outdated. It uses ESLint 7 in its
devDependenciesEOL 2022-04-09 and it uses the deprecatedcontext.getSourceCode()(Source repo https://github.com/arcanis/eslint-plugin-arca).Options