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

npm-config should follow XDG directory spec for per-user config filepath #4106

Closed
Xrey274 opened this issue Dec 1, 2021 · 1 comment
Closed

Comments

@Xrey274
Copy link

Xrey274 commented Dec 1, 2021

The XDG directory spec outlines a standard, user-configurable set of directories defined as environment variables (with defaults).

npm-config should be using $XDG_CONFIG_HOME/npm/config as its config file instead of ~/.npmrc

reference spec

Copy of: #6675

@ljharb
Copy link
Collaborator

ljharb commented Dec 1, 2021

Feature requests go in the rfcs repo, not here.

Closing this in favor of the existing RFC: npm/rfcs#389

@ljharb ljharb closed this as completed Dec 1, 2021
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

2 participants