SIGN IN SIGN UP

feat: warn instead of error on unknown .npmrc configs (#9729)

Unknown configuration keys in .npmrc files now emit a warning by
default, restoring pre-npm-12 behavior, instead of throwing. This
reverts the breaking change from 979518d (#9276) for file-based
configs. The new `strict-npmrc` config (default false) opts back into
treating them as a hard error. Unknown CLI flags and abbreviations
continue to error regardless of this setting.
T
Tea Reggi committed
fd7588081c1944d718715c17adb2cd125d5cefc5
Parent: 42b12c2
Committed by GitHub <noreply@github.com> on 7/8/2026, 5:23:48 PM