eslint-plugin-cypress
Advanced tools
Comparing version 3.1.1 to 3.2.0
{ | ||
"name": "eslint-plugin-cypress", | ||
"version": "3.1.1", | ||
"version": "3.2.0", | ||
"description": "An ESLint plugin for projects using Cypress", | ||
@@ -22,3 +22,3 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"eslint": ">=7 <9" | ||
"eslint": ">=7" | ||
}, | ||
@@ -29,6 +29,8 @@ "dependencies": { | ||
"devDependencies": { | ||
"@eslint/eslintrc": "^3.0.2", | ||
"@eslint/js": "^9.2.0", | ||
"eslint": "^8.57.0", | ||
"eslint-plugin-eslint-plugin": "^6.0.0", | ||
"eslint-plugin-eslint-plugin": "^6.1.0", | ||
"eslint-plugin-mocha": "^10.4.3", | ||
"eslint-plugin-n": "^17.2.1", | ||
"eslint-plugin-n": "^17.4.0", | ||
"husky": "^9.0.11", | ||
@@ -35,0 +37,0 @@ "jest": "^29.7.0", |
@@ -9,3 +9,4 @@ # Cypress ESLint Plugin [![CircleCI](https://circleci.com/gh/cypress-io/eslint-plugin-cypress/tree/master.svg?style=svg)](https://circleci.com/gh/cypress-io/eslint-plugin-cypress/tree/master) | ||
Prerequisites: [ESLint](https://www.npmjs.com/package/eslint) `v7` or `v8`. ESLint `v9` is **not** supported yet. | ||
Prerequisites: [ESLint](https://www.npmjs.com/package/eslint) `v7`, `v8` or `v9`. | ||
This plugin supports the use of [Flat config files](https://eslint.org/docs/latest/use/configure/configuration-files) with ESLint `8.57.0` and above through [@eslint/eslintrc](https://www.npmjs.com/package/@eslint/eslintrc). | ||
@@ -22,4 +23,6 @@ ```sh | ||
Add an `.eslintrc.json` file to your `cypress` directory with the following: | ||
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). | ||
ESLint `v9` uses a [Flat config file](https://eslint.org/docs/latest/use/configure/configuration-files) format with filename `eslint.config.*js` by default. Please refer to [additional Flat config installation and configuration details](FLAT-CONFIG.md). (You may also use this with ESLint `8.57.0`.) | ||
```json | ||
@@ -26,0 +29,0 @@ { |
64309
43
212
9
1001