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
react/prop-types doesn't work with fragment syntax #1694
Labels
Comments
I suspect a lot of rules will need to be updated to support fragment syntax. |
lencioni
changed the title
react/prop-types doesn't work with fragments
react/prop-types doesn't work with fragment syntax
Feb 28, 2018
@bebraw in the meantime, does this work with |
@lencioni Yeah, going with that fixes it. |
Since babel 7 is required for |
alexzherdev
added a commit
to alexzherdev/eslint-plugin-react
that referenced
this issue
Aug 27, 2018
FYI, babel 7 got released |
See #1956 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Example:
react/prop-types
does not capture this. If you replace the fragment syntax with divs, it detects the case.The text was updated successfully, but these errors were encountered: