Skip to content

Align leading comment of union type elements#18833

Merged
fisker merged 4 commits intoprettier:mainfrom
fisker:align-union-type-comments
Feb 2, 2026
Merged

Align leading comment of union type elements#18833
fisker merged 4 commits intoprettier:mainfrom
fisker:align-union-type-comments

Conversation

@fisker
Copy link
Copy Markdown
Member

@fisker fisker commented Feb 2, 2026

Description

Fixes #18787

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 a41f02d
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/698059ae9772c80008df61ab
😎 Deploy Preview https://deploy-preview-18833--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@18833.tgz
yarn add https://pkg.pr.new/@prettier/plugin-oxc@18833.tgz
yarn add https://pkg.pr.new/prettier@18833.tgz

commit: a41f02d

@fisker fisker marked this pull request as ready for review February 2, 2026 08:03
@fisker fisker merged commit c65761a into prettier:main Feb 2, 2026
36 checks passed
@fisker fisker deleted the align-union-type-comments branch February 2, 2026 08:04
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.

jsdoc comment in union type isn't being aligned

1 participant