-
Notifications
You must be signed in to change notification settings - Fork 230
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
[no-if]: Works with arrow function, fails in standard function #670
Labels
Comments
G-Rath
added a commit
that referenced
this issue
Sep 19, 2020
G-Rath
added a commit
that referenced
this issue
Sep 20, 2020
🎉 This issue has been resolved in version 24.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When
jest/no-if
is enabled, An if statement within() => {
is caught no problem. But when it's insidefunction () {
, it is not caught.Example:
Reproducible Code
The text was updated successfully, but these errors were encountered: