Skip to content

refactor(fmt): centralize per-file resolution - #334

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/refactor-fmt-file-resolver
Aug 13, 2026
Merged

refactor(fmt): centralize per-file resolution#334
chenjiahan merged 1 commit into
mainfrom
chenjiahan/refactor-fmt-file-resolver

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

This PR centralizes per-file formatter option and plugin resolution in a shared resolver used by batch formatting, stdin, and LSP.

It removes duplicated orchestration while preserving lazy plugin loading and resolver reuse. A/B benchmarks on the Rspack and Rsbuild repositories found no measurable performance regression.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 89e0f74
Status: ✅  Deploy successful!
Preview URL: https://8f96a2c6.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-refactor-fmt-file.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit b6e8661 into main Aug 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant