Skip to content

Unify configuration #1993

Closed

Description

@fnando

Right now, global vs local config is confusing. This is what @leighmcculloch proposed, which seems like a good compromise:

For P23, I think we can:

  • Default to the one global location.
  • Keep --config-dir which would allow someone changing that one location if they really needed.
  • Add a warning to display on use of --global saying it’s unnecessary, global is always on, the flag does nothing, and the flag will be removed in v24.
  • Don’t allow a way to choose local.
  • Read from both local and global still, but everytime a read reads from a local file, output a warning saying it’s going away in P24.

For P24:

  • Remove --global flag.
  • Still read from local, but hard error when reading and finding data in local that would be used.

For P25:

  • Stop reading from local.

Activity

  1. moved this to Backlog (Not Ready) in DevXon Mar 31, 2025
  2. added
    cli
    on Mar 31, 2025
  3. self-assigned this
    on Apr 1, 2025
  4. github-actions commented on May 2, 2025

    @github-actions
    Contributor

    This issue is stale because it has been assigned for 30 days with no activity. It will be closed in 90 days unless the stale label is removed, and the assignee is removed or updated.

  5. moved this from Backlog (Not Ready) to Todo (Ready for Dev) in DevXon Jul 7, 2025
  6. moved this from Todo (Ready for Dev) to In Progress in DevXon Jul 23, 2025
  7. moved this from In Progress to Done in DevXon Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

breaking changecli

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions