-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
documentationRelates to ESLint's documentationRelates to ESLint's documentationenhancementThis change enhances an existing feature of ESLintThis change enhances an existing feature of ESLintpatch candidateThis issue may necessitate a patch release in the next few daysThis issue may necessitate a patch release in the next few days
Description
ESLint version
HEAD
What problem do you want to solve?
Lately we've had multiple issues filed related to how pnpm resolves dependencies:
These tend to be related to pnpm not being able to find a dependency due to the differences in how it installs and resolves modules vs. npm.
What do you think is the correct solution?
Instead of fighting these on an ongoing basis, I think we should just add to the README and docs to include an .npmrc
file with the following:
auto-install-peers=true
node-linker=hoisted
As long as something works in npm, I just don't think it's worth the time to figure out what pnpm is doing differently.
Participation
- I am willing to submit a pull request for this change.
Additional comments
No response
Faithfinder
Metadata
Metadata
Assignees
Labels
documentationRelates to ESLint's documentationRelates to ESLint's documentationenhancementThis change enhances an existing feature of ESLintThis change enhances an existing feature of ESLintpatch candidateThis issue may necessitate a patch release in the next few daysThis issue may necessitate a patch release in the next few days
Type
Projects
Status
Complete