Skip to content

chore: migrate to oxfmt#3990

Merged
tido64 merged 3 commits intomainfrom
tido/replace-prettier
Feb 25, 2026
Merged

chore: migrate to oxfmt#3990
tido64 merged 3 commits intomainfrom
tido/replace-prettier

Conversation

@tido64
Copy link
Member

@tido64 tido64 commented Feb 24, 2026

Description

oxfmt now supports all the file types we care about: https://oxc.rs/blog/2026-02-24-oxfmt-beta

Test plan

Before:

 NX   Successfully ran target format for 61 projects (23s)


________________________________________________________
Executed in   25.16 secs    fish           external
   usr time  141.66 secs    0.33 millis  141.66 secs
   sys time   30.15 secs    3.33 millis   30.15 secs

On CI: image

After:

 NX   Successfully ran target format for 61 projects (18s)


________________________________________________________
Executed in   19.50 secs    fish           external
   usr time  102.81 secs    0.36 millis  102.81 secs
   sys time   28.52 secs    1.59 millis   28.52 secs
image

However, if we invoke oxfmt directly at the root level, we can go even faster:

________________________________________________________
Executed in    1.41 secs    fish           external
   usr time    4.75 secs    4.85 millis    4.74 secs
   sys time    0.87 secs  106.53 millis    0.76 secs
image

@tido64 tido64 force-pushed the tido/replace-prettier branch from cae38a9 to 2eb2d40 Compare February 24, 2026 09:30
@github-actions github-actions bot added feature: metro This is related to Metro feature: align-deps This is related to align-deps chore Improvements that don't directly affect features feature: third party notices This is related to Third Party Notices feature: cli This is related to CLI feature: jest This is related to Jest feature: eslint This is related to ESLint feature: sdk This is related to 1RN SDK feature: webapis This is related to the experimental effort around WebAPIs for RN labels Feb 24, 2026
@tido64 tido64 enabled auto-merge (squash) February 24, 2026 16:40
Copy link
Collaborator

@JasonVMo JasonVMo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! It's great that package.json files are included. One build script nicety would be automatically running oxfmt on the files after running lint --fix as that always causes issues.

@tido64 tido64 merged commit ac98d78 into main Feb 25, 2026
17 checks passed
@tido64 tido64 deleted the tido/replace-prettier branch February 25, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Improvements that don't directly affect features feature: align-deps This is related to align-deps feature: cli This is related to CLI feature: eslint This is related to ESLint feature: jest This is related to Jest feature: metro This is related to Metro feature: sdk This is related to 1RN SDK feature: third party notices This is related to Third Party Notices feature: webapis This is related to the experimental effort around WebAPIs for RN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants