Skip to content

🔍 Config resolution from a global path #5173

Open
@bdsoha

Description

@bdsoha

Is your feature request related to a problem? Please describe.
The cspell tool can be installed globally (i.e. npm -g install ...), as well as executed from any directory.
However, the configuration files cannot be defined globally.

Describe the solution you'd like
I propose, that in addition to local configurations lookups, global lookups be included as well.
For example, configurations could also be stored in

  • $HOME/.cspell.{yaml,json}
  • $HOME/.config/cspell/*

Describe alternatives you've considered
Defining a global alias:

alias cspell='cspell --config=/home/.../.config/cspell/config.yaml'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions