feat: add prettier plugins to default public hoist patterns

PR #2977
This commit is contained in:
Jonathan Morley authored and GitHub committed 2020-11-14 22:29:18 +02:00
1 parent 284e95c5e4
commit fcc1c71001
2 files changed
+7

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@pnpm/config": minor
---
Add prettier plugins to the default public-hoist-pattern list
+2
View File
@@ -158,6 +158,8 @@ export default async (
// should be publicly hoisted because TypeScript only searches in the root of node_modules
'*types*',
'*eslint*',
'@prettier/plugin-*',
'*prettier-plugin-*',
],
'recursive-install': true,
registry: npmDefaults.registry,