Skip to content

Update to current ESLint 10.x #848

Description

@MikeMcC399

Situation

  • The repo is configured for ESLint 9.x
  • ESLint 9.x transitioned 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

See #848 (comment) for an updated assessment.

Options

  1. Work with Yarn Berry to produce a new release of @yarnpkg/eslint-config, compatible with ESLint 10.x
  2. Remove the external dependency @yarnpkg/eslint-config and create an equivalent ESLint configuration directly into the Corepack repo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions