Skip to content

Angular 21.1: Support consecutive switch cases#18593

Merged
fisker merged 7 commits intoprettier:mainfrom
fisker:angular-21
Jan 14, 2026
Merged

Angular 21.1: Support consecutive switch cases#18593
fisker merged 7 commits intoprettier:mainfrom
fisker:angular-21

Conversation

@fisker
Copy link
Member

@fisker fisker commented Jan 9, 2026

Description

Fixes #18563

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.

@fisker fisker changed the title Add support for Angular 20.1 multiple switch cases Add support for Angular 21.1 multiple switch cases Jan 9, 2026
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 9, 2026

Open in StackBlitz

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

commit: 03c98ae

@netlify
Copy link

netlify bot commented Jan 9, 2026

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit 03c98ae
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/69680436d93fac00080f8225
😎 Deploy Preview https://deploy-preview-18593--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
Copy link
Member Author

fisker commented Jan 9, 2026

Waiting for answer to this question #18563 (comment)

@fisker fisker changed the title Add support for Angular 21.1 multiple switch cases Angular 21.1: Support multiple switch cases Jan 10, 2026
@fisker fisker marked this pull request as ready for review January 10, 2026 05:12
@fisker fisker changed the title Angular 21.1: Support multiple switch cases Angular 21.1: Support consecutive switch cases Jan 14, 2026
@fisker fisker merged commit 9464003 into prettier:main Jan 14, 2026
42 checks passed
@fisker fisker deleted the angular-21 branch January 14, 2026 21:15
@fisker fisker added this to the 3.8 milestone Jan 14, 2026
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.

Add support for consecutive @cases in Angular templates @switch blocks.

1 participant