-
Notifications
You must be signed in to change notification settings - Fork 659
🐛 12.1.0: Single quote style applied to JSX elements #4469
Comments
This is intentional behavior. Rome doesn't treat JSX attributes specially (it means that JSX attribute values also are formatted based on "quoteStyle" setting). |
@nissy-dev I hope the team reconsiders, it is a popular choice for developers. |
Please refer to the discussion: prettier regrets having some of those options, they create too much bikeshedding and they are difficult to justify. |
Is parity with Prettier not a goal anymore? Maybe a |
The parity makes sense, but it doesn't make sense to repeat the mistakes that a tool did; it would be a bit unfortunate to carry over those here. We are always open to suggestions! Does it make sense to treat JSX quotes differently from the rest of other quotes? Why? Would that cause more friction in terms of maintainability, bugs, etc.? Would that create bike-shedding or not? If someone feels strongly, they can always open a discussion! :) |
What may have been a mistake in the past has now become standard. 🤷♂️ |
Makes sense, we should open an issue |
@ematipico I've opened #4486 |
Environment information
What happened?
// rome.json
Expected result
Code of Conduct
The text was updated successfully, but these errors were encountered: