Skip to content

Validate config from files #653

@wraithgar

Description

@wraithgar

Epic

npm currently only "validates" config from nopt (i.e. from the cli itself). It warns when values aren't correct.

Incorrect values from npmrc files are silently ignored, sometimes resulting in invalid types and other times resulting in npmrc config being silently ignored.

npm needs to validate the config it loads from npmrc files and warn in the same way it does when parsing argv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions