rustfmt icon indicating copy to clipboard operation
rustfmt copied to clipboard

Add test to validate the config loading rules

Open ytmimi opened this issue 3 years ago • 0 comments

Closes #5471

Test that configs are loaded in the following order:

  1. Load configs from the --config-path option
  2. Travers the directory hierarchy looking for a config file
  3. Check the user's HOME directory for a config file
  4. Check the user's config directory for a config file

Probably best to review this PR 1 commit at a time.

ytmimi avatar Aug 22 '22 16:08 ytmimi