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>
)
There's a bug with the
--fixpart of this rule when you have plain text inside of the jsx element.Original code:
Result of
eslint --fix:Expected result: