Skip to content

Conversation

@lumirlumir
Copy link
Member

@lumirlumir lumirlumir commented Jan 17, 2026

Prerequisites checklist

What is the purpose of this pull request?

In this PR, I've ensured ESLint works with at least 9.15.0, 9.x latest version, and in pre-releases.

I've mostly followed the same CI matrix convention used in the Markdown repository: https://github.com/eslint/markdown/blob/main/.github/workflows/ci.yml#L46-L75

9.15.0

Although 9.15.0 is the minimum required ESLint version, tests didn't verify it, so I added a test to confirm compatibility with 9.15.0:

**Important:** This plugin requires ESLint v9.15.0 or higher and you must be using the [new configuration system](https://eslint.org/docs/latest/use/configure/configuration-files).

9.x:

Previously the version wasn't specified, so ^9.39.2 (the latest v9 release) was always installed. I added a test to confirm compatibility with the latest v9.

"eslint": "^9.39.2",

^10.0.0-rc.0

We've gone through the breaking changes mentioned in #184, and as far as I know the primary focus was compatibility with ESLint v10. However, it wasn't tested against ESLint v10 locally since the local ESLint version was v9, so I've added it to ensure compatibility.

Just for reference, eslint@^10.0.0-rc.0 includes the stable 10.0.0 release, so tests will automatically run against 10.0.0 once it is released. (We can also update the range to 10.x later if desired.)

What changes did you make? (Give an overview)

In this PR, I've ensured ESLint works with at least 9.15.0, 9.x latest version, and in pre-releases.

Related Issues

N/A

Is there anything you'd like reviewers to focus on?

N/A

@eslintbot eslintbot added this to Triage Jan 17, 2026
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Jan 17, 2026
@lumirlumir lumirlumir marked this pull request as ready for review January 17, 2026 14:15
Copilot AI review requested due to automatic review settings January 17, 2026 14:15
@lumirlumir lumirlumir requested a review from a team January 17, 2026 14:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds comprehensive ESLint version testing to the CI workflow to ensure compatibility with the minimum required version (9.15.0), the latest 9.x release, and ESLint v10 pre-releases.

Changes:

  • Added an eslint matrix dimension to test against versions 9.15.0, 9.x, and ^10.0.0-rc.0 on Ubuntu
  • Added a new CI step to install the specific ESLint version from the matrix
  • Configured Windows and macOS tests to use the latest ESLint version

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

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@nzakas nzakas merged commit 6e1e06e into main Jan 20, 2026
40 checks passed
@github-project-automation github-project-automation bot moved this from Needs Triage to Complete in Triage Jan 20, 2026
@nzakas nzakas deleted the ci/ensure-eslint-work-with-at-least-9.15.0 branch January 20, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Complete

Development

Successfully merging this pull request may close these issues.

3 participants