Skip to content

perf(fmt): optimize default lock file matching - #189

Merged
chenjiahan merged 3 commits into
mainfrom
chenjiahan/perf-fmt-default-lock-matcher
Aug 5, 2026
Merged

perf(fmt): optimize default lock file matching#189
chenjiahan merged 3 commits into
mainfrom
chenjiahan/perf-fmt-default-lock-matcher

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Aug 5, 2026

Copy link
Copy Markdown
Member

This removes the ignore() matcher from the common rs fmt path when config.ignorePatterns is empty.

Default lock files are matched directly using exact, case-sensitive path suffixes. Configured ignore patterns still use the full Gitignore matcher, preserving negation semantics.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 5, 2026

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: c0f75d2
Status: ✅  Deploy successful!
Preview URL: https://aab79e03.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-perf-fmt-default.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan marked this pull request as ready for review August 5, 2026 05:07
@chenjiahan
chenjiahan merged commit 039ae53 into main Aug 5, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/perf-fmt-default-lock-matcher branch August 5, 2026 05:28
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