Skip to content

Commit

Permalink
fix: ignore pnpm lock with prettier (#1914)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra authored Jun 21, 2024
1 parent b005166 commit eef0660
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
build
.idea
coverage
pnpm-lock.yaml
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"check-types": "pnpm check-types:build && pnpm check-types:tests",
"check-types:tests": "tsc -p tsconfig.test.json --noEmit",
"check-types:build": "pnpm -r --parallel exec tsc --noEmit",
"prettier": "prettier --ignore-path .gitignore '**/*.+(js|json|ts|md|yml|yaml)'",
"prettier": "prettier --ignore-path .prettierignore '**/*.+(js|json|ts|md|yml|yaml)'",
"format": "pnpm prettier --write",
"check-format": "pnpm prettier --list-different",
"clean": "pnpm -r --parallel run clean",
Expand Down

0 comments on commit eef0660

Please sign in to comment.