feat(@angular/cli): support Oxfmt for automatic file formatting #34460

Open
cexbrayat opened 7:18am on October 21, 2026 wants to merge 10 Ξ” into angular/angular-cli main from
feat/oxfmt-autoformatting
Diff Delta:
10
About 19 Diff Delta/hour
Classified as:  General

cexbrayat's Description of Work

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?


  • [ ] Bugfix

  • [x] Feature

  • [ ] Code style update (formatting, local variables)

  • [ ] Refactoring (no functional changes, no api changes)

  • [ ] Build related changes

  • [ ] CI related changes

  • [ ] Documentation content changes

  • [ ] Other... Please describe:

What is the current behavior?

The only auto formatting supported out if the box is prettier

What is the new behavior?

If the project has oxfmt installed, then oxfmt is preferred. Prettier is then used as a fallback to preserve the existing behavior.

Does this PR introduce a breaking change?


  • [ ] Yes

  • [x] No

Other information

5 total changed files
Loading changes...
Loading changes...
Loading changes...
Loading changes...
You are now leaving the Pull Request Diff Zone
The diff well is dry.