-
Notifications
You must be signed in to change notification settings - Fork 150
feat(prefer-find-by): add fixer for waitFor wrapping findBy queries #1013
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(prefer-find-by): add fixer for waitFor wrapping findBy queries #1013
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1013 +/- ##
==========================================
+ Coverage 96.27% 96.30% +0.02%
==========================================
Files 46 47 +1
Lines 2472 2516 +44
Branches 1025 1041 +16
==========================================
+ Hits 2380 2423 +43
- Misses 92 93 +1 β View full report in Codecov by Sentry. π New features to boost your workflow:
|
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.
Hi @y-hsgw! Thanks for your contribution π.
I've left a couple of comments. You also need to add more tests to cover extra scenarios (codecov left you some hints about what's not covered).
@Belco90 |
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.
Sorry, one last change! Please include the new case reported by this rule in its docs.
Added in e68646b!π |
π This PR is included in version 7.3.0 π The release is available on: Your semantic-release bot π¦π |
@all-contributors please add @y-hsgw for code and test |
I've put up a pull request to add @y-hsgw! π |
Hi π This is my first contribution β thank you for the great work on this project!
Checks
Changes
prefer-find-by
rule.findBy*
queries are unnecessarily wrapped insidewaitFor
.Context
Fixes #910