feat(build): migrate from Prettier to Oxfmt for performant code formatting - #42434
Conversation
…tting Signed-off-by: hainenber <dotronghai96@gmail.com>
Code Review Agent Run #c73f95Actionable Suggestions - 0Additional Suggestions - 1
Filtered by Review RulesBito filtered these suggestions based on rules created automatically for your feedback. Manage rules.
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #42434 +/- ##
=======================================
Coverage 65.43% 65.43%
=======================================
Files 2810 2810
Lines 159528 159537 +9
Branches 36410 36419 +9
=======================================
+ Hits 104380 104387 +7
- Misses 53102 53104 +2
Partials 2046 2046
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Signed-off-by: hainenber <dotronghai96@gmail.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
This was due to Oxfmt escaping the MDX/JSX comment syntax with literal backlash, failing MDX loader used by @Docusaurus Signed-off-by: hainenber <dotronghai96@gmail.com>
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: hainenber <dotronghai96@gmail.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
|
Bito Automatic Review Skipped – PR Already Merged |
…ame type Post-rebase housekeeping for two things that landed on master: - apache#42434 migrated the repo from Prettier to Oxfmt. Only three of this branch's files needed reformatting (the rest are new files Oxfmt had never seen); the changes are wrapping-only. - apache#42711 removed `username` from the version payload's `changed_by`, so `VersionChangedBy` — which existed solely to add that field to `ActivityChangedBy` and had no other consumer — is deleted. `VersionMeta` now uses `ActivityChangedBy` directly, which is what the server-side schema-parity test enforces. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
feat(build): migrate from Prettier to Oxfmt for performant code formatting
SUMMARY
30x faster than Prettier, which is translated to 1 second formatting whole Superset codebase compared to Prettier's 30s!
There'll be more codes added to the project and switching to a more performant formatter is, IMO, future-proofing.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TESTING INSTRUCTIONS
Green CI
ADDITIONAL INFORMATION