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

fix: parameter comment function attribute removal #2412

Conversation

LordSalmon
Copy link
Contributor

@LordSalmon LordSalmon commented Jan 8, 2025

The title may sound a bit confusing, but what essentially happened was a function attribute deletion on formatting when one of the parameters has a line comment afterward its declaration.

An example of said behaviour can be seen here

Copy link
Collaborator

@czosel czosel left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for contributing @LordSalmon!

@czosel czosel merged commit c5c56ff into prettier:main Jan 20, 2025
1 of 10 checks passed
@czosel
Copy link
Collaborator

czosel commented Jan 20, 2025

Released in v0.22.4 🎉

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.

3 participants