Skip to content

Commit

Permalink
Change pnpm formatting to match pnpm native style (#14)
Browse files Browse the repository at this point in the history
Currently, every time pnpm writes the lock file, it uses single quotes, but prettier is currently configured for double quotes. This PR changes the configuration so that for the pnpm lock file, prettier uses single quotes so that it and pnpm are no longer fighting over formatting. lol.
  • Loading branch information
andrewiggins authored Mar 6, 2024
1 parent b7f3b97 commit a658ee5
Show file tree
Hide file tree
Showing 2 changed files with 397 additions and 389 deletions.
10 changes: 9 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{
"singleQuote": false,
"arrowParens": "always",
"trailingComma": "all"
"trailingComma": "all",
"overrides": [
{
"files": "pnpm-lock.yaml",
"options": {
"singleQuote": true
}
}
]
}
Loading

0 comments on commit a658ee5

Please sign in to comment.