Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

馃悰 Rome misplaces closing braces in JSX props in some cases, compared to prettier #3499

Closed
1 task done
nstepien opened this issue Oct 26, 2022 · 0 comments 路 Fixed by #3505
Closed
1 task done
Assignees
Labels
A-Formatter Area: formatter S-Bug: confirmed Status: report has been confirmed as a valid bug
Milestone

Comments

@nstepien
Copy link
Contributor

Environment information

OS: win11, 64bit
installation method: npm i -D rome@0.10.1-next.e8dd9b4

What happened?

  1. Open this playground
  2. Notice that Rome does not align the closing brace with the beginning of the prop in multiline props

Expected result

Prettier compatibility

Code of Conduct

  • I agree to follow Rome's Code of Conduct
@nstepien nstepien added the S-To triage Status: user report of a possible bug that needs to be triaged label Oct 26, 2022
@MichaReiser MichaReiser added S-Bug: confirmed Status: report has been confirmed as a valid bug S-To triage Status: user report of a possible bug that needs to be triaged A-Formatter Area: formatter and removed S-To triage Status: user report of a possible bug that needs to be triaged labels Oct 26, 2022
@MichaReiser MichaReiser self-assigned this Oct 26, 2022
@MichaReiser MichaReiser added this to the 10.0.0 milestone Oct 26, 2022
@MichaReiser MichaReiser linked a pull request Oct 26, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Formatter Area: formatter S-Bug: confirmed Status: report has been confirmed as a valid bug
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants