Skip to content

Fix dangling comment print in function parameters#18623

Merged
fisker merged 9 commits intoprettier:mainfrom
fisker:dangling-in-paramters
Jan 13, 2026
Merged

Fix dangling comment print in function parameters#18623
fisker merged 9 commits intoprettier:mainfrom
fisker:dangling-in-paramters

Conversation

@fisker
Copy link
Copy Markdown
Member

@fisker fisker commented Jan 13, 2026

Description

Fixes #18208
Closes #18482

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.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Jan 13, 2026

Open in StackBlitz

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

commit: 954a3b4

@netlify
Copy link
Copy Markdown

netlify bot commented Jan 13, 2026

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit 954a3b4
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/6966a0ee4e3f92000831a909
😎 Deploy Preview https://deploy-preview-18623--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.

@fisker fisker force-pushed the dangling-in-paramters branch from 5c6385c to 7f2cd4c Compare January 13, 2026 19:08
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.

Comment within the arrow function's empty parameters was placed incorrectly after the fat arrow operator

1 participant