Skip to content

Handling multiple configurations #2432

Closed Answered by bombsimon
katexochen asked this question in Q&A
Discussion options

You must be logged in to vote

There's no official or suggested way to do this as far as I know. If you actually have all the files on the machine I think just using the --config flag is what would be easiest. However it sounds like moving the files around is something you want to avoid and support for remote configuration has been requested in #2137. That issue contain some simple suggestions by using make and curl but that's not really a part of golangci-lint.

In #2241 there was an implementation to use different local files as presets but also a way to fetch presets remote with the same mechanism as used by go modules. However, the author of the PR closed it since no one did a proper review but personally I would be…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@katexochen
Comment options

@bombsimon
Comment options

@katexochen
Comment options

Answer selected by katexochen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants