Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow assignment of children of whitelisted commands in no-assigning-return-values rule #60

Merged
merged 2 commits into from
May 27, 2020

Conversation

JaKXz
Copy link
Contributor

@JaKXz JaKXz commented May 23, 2020

fixes #56

This corrects the lint errors that are thrown with the bundled examples of cypress v4.6.

I don't know the API well enough to know if chaining more commands and returning the results is valid and should be covered here. But this is a start :)

@chrisbreiding chrisbreiding changed the title allow assignment of children of whitelisted commands fix: allow assignment of children of whitelisted commands in no-assigning-return-values rule May 27, 2020
@chrisbreiding chrisbreiding merged commit 2d127d0 into cypress-io:master May 27, 2020
@chrisbreiding
Copy link
Contributor

🎉 This PR is included in version 2.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@JaKXz JaKXz deleted the fix/no-assigning-return-values branch September 11, 2020 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errors when assigning cy.spy() return value
2 participants