Description
Is your feature request related to a problem? Please describe.
Default settings don't suit my needs. When I clone projects that are not using golangci-lint, I would like to keep the configuration I am using everywhere else.
Describe the solution you'd like
If ~/.golangci.yml
exists, use it as global configuration, but only if there is no .golangci.yml
file in the working directory or in parent directories. For example, if your projects are not located inside your home directory (maybe on another drive), the ~/.golangci.yml
file won't be found and it won't work.
Describe alternatives you've considered
Copying my default config to every new project, but it's not very practical. If you agree with the feature, but you don't have time to implement it, I can try and open a pull request.