cypress-io / eslint-plugin-cypress

An ESLint plugin for projects that use Cypress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support ESLint 8.x

MichaelDeBoey opened this issue Β· comments

ESLint v8.0.0 is released πŸŽ‰

It would be awesome to have official ESLint 8 support. πŸ‘Š
I'm happy to help where I can of course πŸ™‚

@MichaelDeBoey

It seems that in practice the plugin does already support ESLint 8.x even if there is no official statement about it.

On the Cypress repo cypress-io/cypress-example-kitchensink the current version eslint-plugin-cypress@2.15.1 is already being used successfully with the full set of Cypress scaffolded examples and the latest ESLint 8.x (eslint@8.57.0) release.

What is missing:

  1. The CircleCI tests should test the plugin using ESLint 8.x. Currently they only test ESLint 4, 5 and 6, although in fact ESLint 7 and 8 also work (issue #157).
  2. ESLint 8 shows deprecation warnings when testing the rules with Jest (#154). This doesn't prevent the tests from running, however this issue should be addressed. It is also a pre-requisite for ESLint 9 support (issue #156).

I hope to be able to submit a set of PRs to allow testing and support of ESLint 5 to 9 and again hopefully we will be able to close your issue once CircleCI is proving that the plugin is tested againt ESLint 8!

  • I've submitted PR #176 to officially declare support for ESLint 8.x. This would be a new major release as it drops support for earlier versions.

πŸŽ‰ This issue has been resolved in version 3.0.0 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€