eslint-plugin-cypress
Advanced tools
Comparing version 2.9.0 to 2.10.0
{ | ||
"name": "eslint-plugin-cypress", | ||
"version": "2.9.0", | ||
"version": "2.10.0", | ||
"description": "An ESLint plugin for projects using Cypress", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# 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) | ||
An ESLint plugin for your [Cypress](https://cypress.io) tests. | ||
An [ESLint](https://eslint.org) plugin for your [Cypress](https://cypress.io) tests. | ||
@@ -33,2 +33,3 @@ Note: If you installed ESLint globally then you must also install `eslint-plugin-cypress` globally. | ||
"cypress/assertion-before-screenshot": "warn", | ||
"cypress/no-force": "warn" | ||
} | ||
@@ -68,7 +69,9 @@ } | ||
| | Rule ID | Description | | ||
|:---|:--------|:------------| | ||
| ✅ | [no-assigning-return-values](./docs/rules/no-assigning-return-values.md) | Prevent assigning return values of cy calls | | ||
| ✅ | [no-unnecessary-waiting](./docs/rules/no-unnecessary-waiting.md) | Prevent waiting for arbitrary time periods | | ||
| | [assertion-before-screenshot](./docs/rules/assertion-before-screenshot.md) | Ensure screenshots are preceded by an assertion | | ||
| | Rule ID | Description | | ||
| :-- | :------------------------------------------------------------------------- | :-------------------------------------------------------------- | | ||
| ✅ | [no-assigning-return-values](./docs/rules/no-assigning-return-values.md) | Prevent assigning return values of cy calls | | ||
| ✅ | [no-unnecessary-waiting](./docs/rules/no-unnecessary-waiting.md) | Prevent waiting for arbitrary time periods | | ||
| | [no-force](./docs/rules/no-force.md) | Disallow using `force: true` with action commands | | ||
| | [assertion-before-screenshot](./docs/rules/assertion-before-screenshot.md) | Ensure screenshots are preceded by an assertion | | ||
| | [require-data-selectors](./docs/rules/require-data-selectors.md) | Only allow data-\* attribute selectors (require-data-selectors) | | ||
@@ -75,0 +78,0 @@ ## Chai and `no-unused-expressions` |
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
30818
23
538
112