Skip to content

chore(lint): stop prettier checking pnpm-lock.yaml - #104

Merged
allisonmahmood merged 1 commit into
mainfrom
chore/prettier-ignore-lockfile
Sep 2, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
chore/prettier-ignore-lockfile

Conversation

@allisonmahmood

Copy link
Copy Markdown
Owner

Every Dependabot PR failed lint because Dependabot writes the lockfile in pnpm's native single-quote YAML style and prettier --check . rejected it. We then had to push a format commit onto each one by hand.

The lockfile is machine-generated, so Prettier has nothing useful to say about it. This adds a .prettierignore that excludes it. Dependabot PRs go green on their own and the pre-commit hook stops rewriting it.

One-time side effect: main's lockfile is currently in Prettier style, so the next pnpm change to it will show a quote-style diff once, then it settles.

Written by Claude Fable 5.1 in Claude Code.

@github-actions github-actions Bot added the size:s Under 100 changed lines label Sep 2, 2026
@allisonmahmood
allisonmahmood merged commit df5ac53 into main Sep 2, 2026
6 checks passed
@allisonmahmood
allisonmahmood deleted the chore/prettier-ignore-lockfile branch September 2, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant