From 48a679a762878e6c49fc6987c476a2809422f780 Mon Sep 17 00:00:00 2001 From: Aaron Moat <2937187+AaronMoat@users.noreply.github.com> Date: Fri, 21 Jul 2023 17:44:30 +1000 Subject: [PATCH] Add pnpm-lock.yaml to .prettierignore 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. --- .changeset/thirty-bananas-tickle.md | 5 +++++ template/base/_.prettierignore | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/thirty-bananas-tickle.md diff --git a/.changeset/thirty-bananas-tickle.md b/.changeset/thirty-bananas-tickle.md new file mode 100644 index 000000000..79929d93c --- /dev/null +++ b/.changeset/thirty-bananas-tickle.md @@ -0,0 +1,5 @@ +--- +'skuba': minor +--- + +Add pnpm-lock.yaml to .prettierignore \ No newline at end of file diff --git a/template/base/_.prettierignore b/template/base/_.prettierignore index 58c1da8f1..e0ff288a5 100644 --- a/template/base/_.prettierignore +++ b/template/base/_.prettierignore @@ -4,4 +4,5 @@ /.gantry/**/*.yml gantry*.yaml gantry*.yml +pnpm-lock.yaml # end managed by skuba