feat(@schematics/angular): use Oxfmt in generated workspaces #34459

Open
cexbrayat opened 4:24am on October 21, 2026 wants to merge 2 Ξ” into angular/angular-cli main from
feat/oxfmt-generated-projects

Pull Request Overview

  • Opened on October 21, 2026
  • Status Open
  • Commit count 1 with first commit October 21, 2026

Total Delta

2 Total Diff Delta

Open Days

Open 18 weekdays

Test Delta

0 Diff Delta in Test Files
Breakdown by Phase

How long has this pull request spent in each phase of its lifecycle?

Fraction of total time Business days Phase
 
0.0 days Authoring 1 commit before pull request opened for review
 
0.0 days Awaiting first review
 
18.0 days Revising work with 0 commits in response to 1 review that left 2 comments

Total time for pull request still awaiting merge (longer than repo's target): 18.0 business days

Author avatar

feat(@schematics/angular): use Oxfmt in generated workspaces

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 generated projects set up prettier

What is the new behavior?

Now that https://github.com/oxc-project/oxc/issues/17852 is resolved, oxfmt can be used in modern Angular project. This PR replaces the prettier dependency and config by oxfmt

Does this PR introduce a breaking change?


  • [ ] Yes

  • [x] No

Other information

Comments Threads Pending Resolution

gemini-code-assist[bot] reviewed on October 21, 2026
gemini-code-assist[bot] left a comment

## Code Review

This pull request replaces Prettier with oxfmt as the default formatter in the Angular workspace schematics, updating the dependencies, configuration templates, and associated tests. Feedback on the changes highlights that the `excludeFiles` property in the new `.oxfmtrc.json.template` is unsupported by oxfmt and will cause configuration parsing to fail, so it should be removed.

Resolved Comment Threads

gemini-code-assist[bot] reviewed on October 21, 2026
gemini-code-assist[bot] left a comment

## Code Review

This pull request replaces Prettier with oxfmt as the default formatter in the Angular workspace schematics, updating the dependencies, configuration templates, and associated tests. Feedback on the changes highlights that the `excludeFiles` property in the new `.oxfmtrc.json.template` is unsupported by oxfmt and will cause configuration parsing to fail, so it should be removed.