Skip to content

Conversation

@fisker
Copy link
Member

@fisker fisker commented Nov 24, 2022

Description

Close #3105

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

/* istanbul ignore if */ // debug case currently not triggered
if (true) {
x;
} No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

It'd be ideal to add \n at the end of the file, but that’s minor.

@fisker fisker changed the title Add tests for #3105 Add tests for multiple comments Nov 25, 2022
@fisker fisker merged commit 655a161 into prettier:main Nov 25, 2022
@fisker fisker deleted the 3105 branch November 25, 2022 02:52
medikoo pushed a commit to medikoo/prettier-elastic that referenced this pull request Jan 4, 2024
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.

Multiple comments on top of if statement get separated

2 participants