Skip to content

feat(fmt): ignore common lock files by default - #162

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-fmt-ignore-lock-files
Aug 3, 2026
Merged

feat(fmt): ignore common lock files by default#162
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-fmt-ignore-lock-files

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Package-manager lock files should not be rewritten during routine formatting. This PR makes rs fmt ignore package-lock.json and pnpm-lock.yaml by default while applying user ignorePatterns afterward, so negated patterns can opt these files back in. It also documents the behavior in both languages and updates the Prettier migration guidance.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: d3703fd
Status: ✅  Deploy successful!
Preview URL: https://50ad9bf5.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-feat-fmt-ignore-l.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit 1e9c01c into main Aug 3, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/feat-fmt-ignore-lock-files branch August 3, 2026 12:19
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