Skip to content

fix: pin prettier as a local hook so autoupdate can't propose alpha bumps - #202

Merged
willyfh merged 1 commit into
mainfrom
fix/prettier-local-hook
Aug 23, 2026
Merged

willyfh merged 1 commit into
mainfrom
fix/prettier-local-hook

Conversation

@willyfh

@willyfh willyfh commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • pre-commit run prettier --all-files - passes, no formatting diffs vs. the previous mirror-based hook
  • pre-commit run --all-files (full suite) - all hooks pass

…umps

pre-commit.ci's autoupdate always jumps to the highest available tag on the
mirrors-prettier repo, which only has v4 alpha pre-releases past v3.1.0 since
prettier hasn't cut a stable v4 yet. This has repeatedly produced broken
autoupdate PRs (#168, #188, #192, #200). Converting the hook to a local,
npm-pinned hook removes it from autoupdate's scope entirely.
@willyfh
willyfh marked this pull request as ready for review August 23, 2026 23:14
@willyfh
willyfh merged commit 446cd41 into main Aug 23, 2026
9 checks passed
@willyfh
willyfh deleted the fix/prettier-local-hook branch August 23, 2026 23:21
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