🐛 noUselessFragments fix result has invalid jsx syntax #4553
Labels
A-Linter
Area: linter
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
What happened?
Open in Biome Playground
Input
Biome fix output
Issue Details
The fix removes the fragment but doesn't wrap the prop value in curly braces (
{}
). This results in invalid JSX syntax, as seen in the fix output above.Expected result
Should the formatter be responsible for fixing this, or is it a linter issue?
Code of Conduct
The text was updated successfully, but these errors were encountered: