feat: add prettier plugins to default public hoist patterns

PR #2977
This commit is contained in:
Jonathan Morley
2020-11-14 15:29:18 -05:00
committed by GitHub
parent 284e95c5e4
commit fcc1c71001
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/config": minor
---
Add prettier plugins to the default public-hoist-pattern list

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,