eslint-plugin-cypress
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -14,2 +14,3 @@ const globals = require('globals') | ||
'no-pause': require('./lib/rules/no-pause'), | ||
'no-debug': require('./lib/rules/no-debug'), | ||
}, | ||
@@ -16,0 +17,0 @@ configs: { |
@@ -17,2 +17,3 @@ const globals = require('globals') | ||
'no-pause': require('./rules/no-pause'), | ||
'no-debug': require('./rules/no-debug'), | ||
}, | ||
@@ -19,0 +20,0 @@ } |
{ | ||
"name": "eslint-plugin-cypress", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "An ESLint plugin for projects using Cypress", | ||
@@ -5,0 +5,0 @@ "main": "legacy.js", |
@@ -20,2 +20,6 @@ # 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) | ||
## 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 | ||
@@ -46,3 +50,4 @@ | ||
"cypress/no-async-before": "error", | ||
"cypress/no-pause": "error" | ||
"cypress/no-pause": "error", | ||
"cypress/no-debug": "error" | ||
} | ||
@@ -134,2 +139,3 @@ } | ||
| [no-async-tests](docs/rules/no-async-tests.md) | disallow using `async`/`await` in Cypress test cases | ✅ | | ||
| [no-debug](docs/rules/no-debug.md) | disallow using `cy.debug()` calls | | | ||
| [no-force](docs/rules/no-force.md) | disallow using `force: true` with action commands | | | ||
@@ -136,0 +142,0 @@ | [no-pause](docs/rules/no-pause.md) | disallow using `cy.pause()` calls | | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85785
58
1399
218