Skip to content

fix(fmt): use ignore for pattern matching - #179

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-fmt-ignore-matcher
Aug 4, 2026
Merged

fix(fmt): use ignore for pattern matching#179
chenjiahan merged 1 commit into
mainfrom
chenjiahan/fix-fmt-ignore-matcher

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

This PR fixes rs fmt ignore matching when a negated directory pattern should re-include directories without also re-including their files. It replaces fast-ignore with the already-used ignore package, preserves parent-relative and cross-platform path handling, and removes the obsolete dependency and notice. A focused regression test covers the directory/file distinction.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: dcae53b
Status: ✅  Deploy successful!
Preview URL: https://b5572228.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-fix-fmt-ignore-ma.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit af69b59 into main Aug 4, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/fix-fmt-ignore-matcher branch August 4, 2026 14:54
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