Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow empty line between JSX expressions #7269

Merged
merged 11 commits into from
Feb 2, 2025

Conversation

shulhi
Copy link
Member

@shulhi shulhi commented Feb 1, 2025

Fix #7204 (second attempt)

@shulhi shulhi force-pushed the feat/keep-line-in-jsx branch from 84eae33 to 5cbeca6 Compare February 1, 2025 05:06
@shulhi shulhi requested a review from cknitt February 1, 2025 05:07
@shulhi
Copy link
Member Author

shulhi commented Feb 1, 2025

I also found another bug related to comments printing (rescript-lang/rescript-react#125). It's not related to this PR though, but the tests are written to not take this into account.

Copy link
Member

@cknitt cknitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested against a real-world project again and not seeing any reformatting happening this time. 👍

CHANGELOG.md Outdated Show resolved Hide resolved
@shulhi shulhi merged commit aea2fed into rescript-lang:master Feb 2, 2025
20 checks passed
@shulhi shulhi deleted the feat/keep-line-in-jsx branch February 2, 2025 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Formatter: Allow empty line between JSX expressions
2 participants