-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
Description
There's a bug with the --fix
part of this rule when you have plain text inside of the jsx element.
Original code:
const something = () => (
<Text>Plain text</Text>
)
Result of eslint --fix
:
const something = () => (
<Text>
Plain text
</Text>
)
Expected result:
const something = () => (
<Text>
Plain text
</Text>
)
aalises, smisiewicz, joshclowater, JemarJones, dmeents and 20 more