cypress/unsafe-to-chain-command not exported from the package
Michsior14 opened this issue · comments
The latest version (2.13.0) leads to error during eslint execution:
error Definition for rule 'cypress/unsafe-to-chain-command' was not found cypress/unsafe-to-chain-command
Looks like it's not exported in index.js file: https://github.com/cypress-io/eslint-plugin-cypress/blob/master/index.js#L11
Here's a PR to solve the issue: #126
This issue should be resolved in the latest release. I am going to close this issue. If the latest release does not address your issue please throw a comment here and we can reopen and investigate further.
I think this still isn't fixed, we're getting the same error now using 2.13.3. I think L11 in unsafe-to-chain-command.js should be:
ruleTester.run('unsafe-to-chain-command', rule, {
rather than 'action-ends-chain'
Hmm, just noticed this is in the tests, so should really affect us. Does anyone else still have this issue? Otherwise it might be something we need to fix
I have this issue and would like to see it resolved, please
@alistaireverett and @TD-DO , please open a new issue with a reproducible example and the Cypress team will be happy to investigate. You can reference this issue in the description.