Skip to content

Commit

Permalink
Add pnpm-lock.yaml to .prettierignore
Browse files Browse the repository at this point in the history
This has caught a few people out - prettier formats `pnpm-lock.yaml`
differently to how `pnpm` commands generate the file as, resulting
in formatting errors or churn.
  • Loading branch information
AaronMoat committed Jul 21, 2023
1 parent faa3496 commit 48a679a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thirty-bananas-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'skuba': minor
---

Add pnpm-lock.yaml to .prettierignore
1 change: 1 addition & 0 deletions template/base/_.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
/.gantry/**/*.yml
gantry*.yaml
gantry*.yml
pnpm-lock.yaml
# end managed by skuba

0 comments on commit 48a679a

Please sign in to comment.