feat: hoist all ESLint plugins to the root node_modules

close #2680
PR #2681)
This commit is contained in:
Zoltan Kochan
2020-07-10 00:47:47 +03:00
committed by GitHub
parent 2ab9b9e17f
commit ab3b8f51da
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@pnpm/config": minor
---
Hoist all ESLint plugins to the root of node_modules by default.

View File

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