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

Keep braces inline on empty classes and functions #2336

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

hackel
Copy link
Contributor

@hackel hackel commented Feb 27, 2024

This fixes #2275. It is a quick and dirty patch, so I would very much appreciate any critical feedback. Unfortunately this change also affected most of the tests, so there are many changes to the snapshots.

@hackel
Copy link
Contributor Author

hackel commented Apr 10, 2024

@czosel Have any time to look at this PR by chance? Interested to hear your thoughts.

Copy link
Collaborator

@cseufert cseufert left a comment

Choose a reason for hiding this comment

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

Looks good, patch does not appear to cause any weird regressions.

@czosel czosel merged commit 7e8f79e into prettier:main Jun 11, 2024
11 of 12 checks passed
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.

Class and method braces with no body split onto multiple lines
3 participants