Skip to content
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

[jsx curly brace presence]: fix jsx tags in braces #2422

Conversation

tanmoyopenroot
Copy link
Contributor

PR checklist

Overview of change:

Check for single JSXElement in child.

@@ -96,7 +96,8 @@ ruleTester.run('jsx-curly-brace-presence', rule, {
options: [{props: 'never'}]
},
{
code: '<App>{<myApp></myApp>}</App>'
code: '<App>{<myApp></myApp>}</App>',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this arguably is a breaking change :-/ hopefully we can consider this a patch though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

jsx-curly-brace-presence does not complain about JSX tags in braces
2 participants