Skip to content

Fix dangling comment detection in function parameters and call arguments#18540

Merged
fisker merged 3 commits intoprettier:mainfrom
fisker:dangling-comment-arg-parameter
Dec 29, 2025
Merged

Fix dangling comment detection in function parameters and call arguments#18540
fisker merged 3 commits intoprettier:mainfrom
fisker:dangling-comment-arg-parameter

Conversation

@fisker
Copy link
Copy Markdown
Member

@fisker fisker commented Dec 29, 2025

Description

Fixes #18539

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 Dec 29, 2025

Open in StackBlitz

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

commit: 169bf90

@netlify
Copy link
Copy Markdown

netlify bot commented Dec 29, 2025

Deploy Preview for prettier ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 169bf90
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/695267d4da2e5a00089f8d7c
😎 Deploy Preview https://deploy-preview-18540--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-comment-arg-parameter branch from b5670e8 to c06de98 Compare December 29, 2025 11:35
@fisker fisker marked this pull request as ready for review December 29, 2025 11:39
@fisker fisker merged commit 68861ae into prettier:main Dec 29, 2025
39 checks passed
@fisker fisker deleted the dangling-comment-arg-parameter branch December 29, 2025 11:52
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.

Trailing comment of IIFE function moved around

1 participant