Skip to content

Exclude semicolon from range of ExpressionStatement#18736

Merged
fisker merged 14 commits intoprettier:mainfrom
fisker:expression-statement-semi
Jan 24, 2026
Merged

Exclude semicolon from range of ExpressionStatement#18736
fisker merged 14 commits intoprettier:mainfrom
fisker:expression-statement-semi

Conversation

@fisker
Copy link
Copy Markdown
Member

@fisker fisker commented Jan 24, 2026

Description

Fixes #1510

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 24, 2026

Open in StackBlitz

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

commit: c41119e

@netlify
Copy link
Copy Markdown

netlify bot commented Jan 24, 2026

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit c41119e
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/69747bb569f6c30008751b5b
😎 Deploy Preview https://deploy-preview-18736--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 expression-statement-semi branch from d1eb931 to 3d0e480 Compare January 24, 2026 06:56
@fisker fisker marked this pull request as ready for review January 24, 2026 08:12
@fisker fisker merged commit 495ed20 into prettier:main Jan 24, 2026
38 checks passed
@fisker fisker deleted the expression-statement-semi branch January 24, 2026 08:14
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.

Empty line not preserved before leading ; with no-semi

1 participant