Socket
Socket
Sign inDemoInstall

eslint-plugin-cypress

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-cypress - npm Package Compare versions

Comparing version 2.12.1 to 2.13.0

.github/workflows/add-issue-triage-board.yml

2

docs/rules/no-unnecessary-waiting.md

@@ -1,3 +0,3 @@

## No Assigning Return Values
## No Unnecessary Waiting
See [the Cypress Best Practices guide](https://on.cypress.io/best-practices#Unnecessary-Waiting).

@@ -12,3 +12,4 @@ 'use strict'

'cypress/no-async-tests': 'error',
'cypress/unsafe-to-chain-command': 'error',
},
}
{
"name": "eslint-plugin-cypress",
"version": "2.12.1",
"version": "2.13.0",
"description": "An ESLint plugin for projects using Cypress",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -76,3 +76,3 @@ # 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)

Disable the `cypress/no-unnecessary-waiting` rule for a portion of the file:
Disable the `cypress/no-unnecessary-waiting` rule for only a portion of the file:

@@ -125,2 +125,3 @@ ```js

| ✅ | [no-async-tests](./docs/rules/no-async-tests.md) | Prevent using async/await in Cypress test case |
| ✅ | [unsafe-to-chain-command](./docs/rules/unsafe-to-chain-command.md) | Prevent chaining from unsafe to chain commands |
| | [no-force](./docs/rules/no-force.md) | Disallow using `force: true` with action commands |

@@ -127,0 +128,0 @@ | | [assertion-before-screenshot](./docs/rules/assertion-before-screenshot.md) | Ensure screenshots are preceded by an assertion |

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc