Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate config from files #653

Open
wraithgar opened this issue Mar 9, 2023 · 0 comments
Open

Validate config from files #653

wraithgar opened this issue Mar 9, 2023 · 0 comments

Comments

@wraithgar
Copy link
Member

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

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

No branches or pull requests

1 participant