-
Notifications
You must be signed in to change notification settings - Fork 89
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
Add opinionated rules #4
Labels
Comments
That's a great idea. We've talked about in the past, just haven't taken the time to come up with the exact rules and implement them. I'll keep this open to track any progress we make. |
SaladFork
added a commit
to SaladFork/eslint-plugin-cypress
that referenced
this issue
Oct 25, 2018
Adds an opinionated rule as suggested in cypress-io#4. Tries to help with the "Assigning Return Values" Best Practice described in the guide: <https://docs.cypress.io/guides/references/best-practices.html#Assigning-Return-Values>
@jbinto do you mind elaborating on what you meant by this? |
SaladFork
added a commit
to SaladFork/eslint-plugin-cypress
that referenced
this issue
Nov 2, 2018
Adds an opinionated rule as suggested in cypress-io#4. Tries to help with the "Assigning Return Values" Best Practice described in the guide: <https://docs.cypress.io/guides/references/best-practices.html#Assigning-Return-Values>
This suggestion is implemented. See |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would be cool if this plugin could do things like warn on calls to
.wait()
, and enforce other Cypress best practices.The text was updated successfully, but these errors were encountered: