revive icon indicating copy to clipboard operation
revive copied to clipboard

feat: prefer `XDG_CONFIG_HOME` for `revive.toml` config file

Open notjedi opened this issue 3 years ago • 1 comments
trafficstars

motivation: #724

Checklist

  • [ ] Did you add tests?
  • [x] Does your code follows the coding style of the rest of the repository?
  • [x] Does the Travis build passes?

Closes #724

notjedi avatar Aug 03 '22 17:08 notjedi

i have only tested this on my linux machine, should most prolly work on darwin and plan9.

EDIT: we can probably use https://github.com/adrg/xdg, so we generalize on all platforms and have the correct fallback directories if XDG_CONFIG_HOME is not set. my current implementation does not fallback to default directories.

notjedi avatar Aug 03 '22 17:08 notjedi

i probably forgot about this pr and deleted the repo. my bad, can we pick up where we left? @mgechev

notjedi avatar Oct 10 '22 18:10 notjedi

@notjedi @mgechev this PR can be closed because all features related this topic we merged in #912 today :)

mfederowicz avatar Oct 03 '23 20:10 mfederowicz

Duplicated of #912

chavacava avatar Oct 04 '23 11:10 chavacava