Skip to content

Support for a global config file #640

@rafaScalet

Description

@rafaScalet

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Add support for a global config file as a fallback if one in the current directory didn't exist, and if a global config file didn't exist too, return an error.

Describe alternatives you've considered

a config file in: $HOME/.config/treefmt/config.toml or $HOME/.config/treefmt.toml to respect the XDG spec

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions