Skip to content

chore: remove pnpm-only settings from .npmrc#5237

Open
marcoscaceres wants to merge 2 commits into
mainfrom
chore/remove-pnpm-only-npmrc
Open

chore: remove pnpm-only settings from .npmrc#5237
marcoscaceres wants to merge 2 commits into
mainfrom
chore/remove-pnpm-only-npmrc

Conversation

@marcoscaceres

Copy link
Copy Markdown
Contributor

Removes strict-peer-dependencies and auto-install-peers from .npmrc. These are pnpm-specific keys that npm doesn't recognize, causing warnings on every lint-staged/pre-commit hook run:

npm warn Unknown project config "strict-peer-dependencies"
npm warn Unknown project config "auto-install-peers"

Both are redundant on pnpm 10: strict-peer-dependencies already defaults to false, and auto-install-peers defaults to true. Added in f825906 (Sep 2023) during a pnpm migration.

marcoscaceres and others added 2 commits April 30, 2026 22:07
Removes strict-peer-dependencies and auto-install-peers from .npmrc.
These are pnpm-specific keys that npm doesn't recognize, causing
warnings on every lint-staged/pre-commit hook invocation. Both are
redundant on pnpm 10 (strict-peer-dependencies defaults to false,
auto-install-peers defaults to true).
@marcoscaceres marcoscaceres requested a review from sidvishnoi June 1, 2026 00:16
@marcoscaceres marcoscaceres enabled auto-merge (squash) June 1, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants