mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-24 07:38:12 -05:00
feat!: remove prettier and eslint from the default value of public-hoist-pattern (#8621)
close #8378
This commit is contained in:
6
.changeset/honest-fans-sip.md
Normal file
6
.changeset/honest-fans-sip.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@pnpm/config": major
|
||||
"pnpm": major
|
||||
---
|
||||
|
||||
Do not hoist to the root of `node_modules` packages that contain the word `eslint` or `prettier` in their name. Changed the default value of the `public-hoist-pattern` setting [#8378](https://github.com/pnpm/pnpm/issues/8378).
|
||||
@@ -157,10 +157,7 @@ export async function getConfig (opts: {
|
||||
'package-manager-strict': process.env.COREPACK_ENABLE_STRICT !== '0',
|
||||
'package-manager-strict-version': false,
|
||||
'prefer-workspace-packages': false,
|
||||
'public-hoist-pattern': [
|
||||
'*eslint*',
|
||||
'*prettier*',
|
||||
],
|
||||
'public-hoist-pattern': [],
|
||||
'recursive-install': true,
|
||||
registry: npmDefaults.registry,
|
||||
'resolution-mode': 'highest',
|
||||
|
||||
Reference in New Issue
Block a user