Read configuration file from a default predefined location #233
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Description
Many applications have a default user location for their configuration files, such as
$XDG_CONFIG_HOME/<application_name>/config
. That way whenever yamlfix runs, it's not necessary to pass it each time an argument to the configuration file location. This is useful for editor integration, such as formatting and linting frameworks that usually just call the application without extra configuration arguments.Possible Solution
The YAMLlint configuration can be a good inspiration:
Additional context
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Thanks.
The text was updated successfully, but these errors were encountered: