-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
utils.isReturningJSX is returning false all the time #741
Comments
Certainly Separately, an |
As I suggested here I believe the only way to create an accurate |
We've done lots of improvements here, and I believe this original issue is fixed. If there's further bugs, please open a new issue (or better, a PR with failing tests), and we'll address it. |
I found this when I was working on a new rule. #736
All following SFC nodes are considered not returning JSX by
utils.isReturningJSX(node)
.utils.isReturningJSX(node.parent)
&utils.isReturningJSX(node.body)
are both returning false too.The text was updated successfully, but these errors were encountered: