-
Notifications
You must be signed in to change notification settings - Fork 17
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
Possible false-positive with memo default export #44
Comments
Yeah this pattern should be allowed to |
@ArnaudBarre I've created a PR #45 to fix this issue. |
A minor problem is that the PR does not handle React.memo() only memo() correctly |
ah yeah I never use this pattern, I still hope that one day React will be ESM 😂 |
When will this fix be available? I just tried out this plugin today and was stumped why I was getting errors with
|
Sorry I though I'll do it directly and forgot about it! Available in 0.4.10 thanks to @SukkaW! |
Thanks to both of you! |
See also #27.
Example code:
And minimum reproduction on ESLint REPL.
The text was updated successfully, but these errors were encountered: