Skip to content

Commit

Permalink
Merge pull request #217 from MikeMcC399/deprecate-v7
Browse files Browse the repository at this point in the history
docs: deprecate ESLint v7
  • Loading branch information
jennifer-shehane authored Aug 12, 2024
2 parents e644392 + 0462555 commit 77f2da9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ or
yarn add eslint-plugin-cypress --dev
```

## Deprecations

The use of ESLint `v7` with `eslint-plugin-cypress` is deprecated and support will be removed in a future version of this plugin. ESLint `v7` reached end-of-life on Apr 9, 2022 and users are encouraged to migrate to ESLint `v9`. See [ESLint Version Support](https://eslint.org/version-support/) for ESLint's current release lines.

## Usage

If you are using ESLint `v7` or `v8`, then add an `.eslintrc.json` file to the root directory of your Cypress project with the contents shown below. You can continue to use this format with ESLint `v9` if you set the `ESLINT_USE_FLAT_CONFIG` environment variable to `false` (see [ESLint v9 > Configuration Files (Deprecated)](https://eslint.org/docs/latest/use/configure/configuration-files-deprecated).
Expand Down

0 comments on commit 77f2da9

Please sign in to comment.