eslint-plugin-cypress
Version:
An ESLint plugin for projects using Cypress
19 lines (11 loc) ⢠723 B
Markdown
# Disallow actions within chains (`cypress/unsafe-to-chain-command`)
š¼ This rule is enabled in the ā
`recommended` config.
<!-- end auto-generated rule header -->
### Options
<!-- begin auto-generated rule options list -->
| Name | Description | Type | Default |
| :-------- | :---------------------------------------------------------- | :---- | :------ |
| `methods` | An additional list of methods to check for unsafe chaining. | Array | `[]` |
<!-- end auto-generated rule options list -->
## Further Reading
See [retry-ability guide](https://docs.cypress.io/guides/core-concepts/retry-ability#Actions-should-be-at-the-end-of-chains-not-the-middle).