revive
revive copied to clipboard
feat: prefer `XDG_CONFIG_HOME` for `revive.toml` config file
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
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.
i probably forgot about this pr and deleted the repo. my bad, can we pick up where we left? @mgechev
@notjedi @mgechev this PR can be closed because all features related this topic we merged in #912 today :)
Duplicated of #912