chore: public-hoist-pattern prettier config (#3954)

* chore: public-hoist-pattern prettier config

* docs: add changesets

Co-authored-by: Zoltan Kochan <z@kochan.io>
This commit is contained in:
傅鹏andZoltan Kochan authored and GitHub committed 2022-04-01 23:21:18 +03:00
1 parent 8fa95fd868
commit 8dac029ef6
2 files changed
+7 -2

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
---
"@pnpm/config": minor
"pnpm": minor
---
Any package with "prettier" in its name is hoisted.
+1 -2
View File
@@ -190,8 +190,7 @@ export default async (
'prefer-workspace-packages': false,
'public-hoist-pattern': [
'*eslint*',
'@prettier/plugin-*',
'*prettier-plugin-*',
'*prettier*',
],
'recursive-install': true,
registry: npmDefaults.registry,