fix: publicly hoist any dependency that is related to ESLint

close #2688
PR #2799
This commit is contained in:
Zoltan Kochan
2020-08-25 11:10:29 +03:00
committed by GitHub
parent d717e344ee
commit ac0d3e1225
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/config": patch
---
Publicly hoist any dependency that is related to ESLint.

View File

@@ -148,7 +148,7 @@ export default async (
'link-workspace-packages': true,
'package-lock': npmDefaults['package-lock'],
pending: false,
'public-hoist-pattern': ['@types/*', 'eslint-plugin-*'],
'public-hoist-pattern': ['@types/*', '*eslint*'],
'recursive-install': true,
registry: npmDefaults.registry,
'save-peer': false,