Skip to content

Preserve empty line in block body#18846

Draft
fisker wants to merge 1 commit intoprettier:mainfrom
fisker:empty-line
Draft

Preserve empty line in block body#18846
fisker wants to merge 1 commit intoprettier:mainfrom
fisker:empty-line

Conversation

@fisker
Copy link
Copy Markdown
Member

@fisker fisker commented Feb 2, 2026

Description

Fixes #18842

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.

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 2, 2026

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit a569b0e
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/6980b8d945c0f100078e88f7
😎 Deploy Preview https://deploy-preview-18846--prettier.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 2, 2026

Open in StackBlitz

yarn add https://pkg.pr.new/@prettier/plugin-hermes@18846.tgz
yarn add https://pkg.pr.new/@prettier/plugin-oxc@18846.tgz
yarn add https://pkg.pr.new/prettier@18846.tgz

commit: a569b0e

@fisker fisker marked this pull request as draft February 2, 2026 14:59
@fisker
Copy link
Copy Markdown
Member Author

fisker commented Feb 2, 2026

Set to draft because #18842 (comment)

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.

missing line break after trailing comments of empty statement

1 participant