Switch to use Oxc for linting and formatting#6689
Conversation
✅ Frontend License Check PassedAll frontend licenses have been validated and no compatibility warnings were detected. The frontend license report has been updated successfully. |
🚀 V2 Auto-Deployment Complete!Your V2 PR with embedded architecture has been deployed! 🔗 Direct Test URL (non-SSL) http://54.175.155.236:6689 🔐 Secure HTTPS URL: https://6689.ssl.stirlingpdf.cloud This deployment will be automatically cleaned up when the PR is closed. 🔄 Auto-deployed for approved V2 contributors. |
📦 Tauri Desktop Builds Ready!The desktop applications have been built and are ready for testing. Download Artifacts:🐧 Linux x64: Download Stirling-PDF-linux-x86_64 (.deb, .rpm, .AppImage) - 830.5 MB Built from commit e1a96b6 |
Description of Changes
Oxc is TS tooling made in Rust designed to directly replace ESLint (with Oxlint) and Prettier (with Oxfmt). This PR converts us to using the Oxc tooling to test how difficult it would be to transition over, and find out how much quicker it would be. From my testing:
Speed of tools
The conversion should be running all the equivalent rules and settings in the tools. Here are the results I got running the tools all timed via
time, spawned throughtask(the actual Oxc commands are even faster than these results, but ESLint doesn't print its execution time and Oxc also replaces dpdm in the single run, so this test is more fair).Notes
tsconfig.jsonfiles all usebaseUrlwhich isn't supported in TS7 (it was deprecated in TS6) so we might want to convert to TS6 (or even TS7 if it seems stable on our codebase) before this PR instead of doing it all at once.