Skip to content

feat(fmt): support Prettier plugins - #135

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-fmt-plugins
Aug 2, 2026
Merged

feat(fmt): support Prettier plugins#135
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-fmt-plugins

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Prettier plugins configured through define.fmt were previously rejected by rs fmt.

This PR resolves package names, paths, and URLs from the project root after per-file overrides are applied, then passes normalized module URLs through parser inference and both serial and parallel formatting. Imported plugin objects remain intentionally unsupported because they cannot cross worker boundaries.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 08e3a8f
Status: ✅  Deploy successful!
Preview URL: https://1bf3c42b.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-feat-fmt-plugins.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit c81b623 into main Aug 2, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/feat-fmt-plugins branch August 2, 2026 10:13
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