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

feat(config): Start warning on unknown flags or config (under loglevel=warn) #491

Open
1 of 3 tasks
darcyclarke opened this issue May 2, 2022 · 1 comment
Open
1 of 3 tasks
Assignees
Labels

Comments

@darcyclarke
Copy link
Contributor

darcyclarke commented May 2, 2022

Tasks

Preview Give feedback
  1. Enhancement
    wraithgar
@darcyclarke darcyclarke mentioned this issue May 2, 2022
13 tasks
@darcyclarke darcyclarke changed the title Start warning on unknown flags or config (under <code class="notranslate">loglevel=verbose`) Start warning on unknown flags or config (under loglevel=verbose`) May 2, 2022
@darcyclarke darcyclarke changed the title Start warning on unknown flags or config (under loglevel=verbose`) Start warning on unknown flags or config (under loglevel=verbose) May 2, 2022
@darcyclarke darcyclarke changed the title Start warning on unknown flags or config (under loglevel=verbose) feat(config): Start warning on unknown flags or config (under loglevel=verbose) May 2, 2022
@wraithgar
Copy link
Member

we should also warn when npm is "helpfully" allowing for abbreviated versions of any config item, with the goal of eventual removal in a future major

$ npm config ls -a -- --bef=2010-10-10|grep before
$ npm config ls -a --bef=2010-10-10|grep before
before = "2010-10-10T00:00:00.000Z"

@wraithgar wraithgar changed the title feat(config): Start warning on unknown flags or config (under loglevel=verbose) feat(config): Start warning on unknown flags or config (under loglevel=warn) Jan 7, 2025
@wraithgar wraithgar self-assigned this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants