-
Notifications
You must be signed in to change notification settings - Fork 148
feat: Add an option to remove the matching of findBy queries by the prefer-explicit-assert rule #452
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
feat: Add an option to remove the matching of findBy queries by the prefer-explicit-assert rule #452
Conversation
…refer-explicit-assert rule A recent patch implemented matching findBy* queries by the prefer-explicit-assert rule. This patch makes it possible to disable it in cases where it's too distracting. Fixes testing-library#449
f985c17
to
1b1a661
Compare
I believe this is ready for review now. Also I guess somebody needs to approve the test workflows :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @julienw! Thanks for your PR, it looks good to me!
The step for publishing the new package version failed, I'm checking why. |
🎉 This PR is included in version 4.11.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@all-contributors please add @julienw for bug, code, test |
I've put up a pull request to add @julienw! 🎉 |
A recent patch implemented matching
findBy*
queries by theprefer-explicit-assert
rule. This patch makes it possible to disable itin cases where it's too distracting.
Checks
Changes
This adds an option so that a user can globally disable that findBy queries are checked by the role.
Context
Fixes #449