Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support eslint v9 through @eslint/eslintrc #203

Merged
merged 1 commit into from
May 6, 2024

Conversation

MikeMcC399
Copy link
Collaborator

@MikeMcC399 MikeMcC399 commented May 6, 2024

This PR releases the plugin for use on ESLint 9.x in addition to 7.x and 8.x
It provides also a minimal documentation update necessary to support this addition

Issue

The [email protected] release was blocked from installing on eslint >= 9 through peerDependencies

"peerDependencies": {
"eslint": ">=7 <9"
},

Related resolutions

Change

  • peerDependencies are relaxed to allow installation on any version starting with eslint@7 and including eslint@9.
  • The README and FLAT-CONFIG documents are updated to cover use of the plugin on all supported versions: v7, v8 and v9
ESLint version legacy .eslintrc.* flat config eslint.config.*js
v7 supported not available
v8 supported supported (1)
v9 supported (2) supported (1)

(1) Supported through the FlatCompat class of @eslint/eslintrc
(2) Deprecated by ESLint v9. Can be used with environment variable ESLINT_USE_FLAT_CONFIG set to false

@cypress-app-bot
Copy link

@MikeMcC399
Copy link
Collaborator Author

@MikeMcC399
Copy link
Collaborator Author

@MikeMcC399 MikeMcC399 marked this pull request as ready for review May 6, 2024 16:21
@MikeMcC399 MikeMcC399 self-assigned this May 6, 2024
@jennifer-shehane jennifer-shehane merged commit c40989d into cypress-io:master May 6, 2024
8 checks passed
@cypress-app-bot
Copy link

🎉 This PR is included in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@MikeMcC399
Copy link
Collaborator Author

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

Successfully merging this pull request may close these issues.

3 participants