-
-
Couldn't load subscription status.
- Fork 1.5k
Closed
Labels
enhancementNew feature or improvementNew feature or improvement
Description
I noticed your comment here https://github.com/golangci/golangci-lint/blob/master/pkg/commands/run.go#L404 about double parsing that way you can get Viper setup with the config values. But this causes some of the flags to act as if they were passed in twice by the user. StringSlice for example will duplicate the result. Not sure if there are any other flags that are doing this.
I think a possible solution may be to call e.parseConfig inside the executeRun command. But maybe there is something I am not seeing?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvementNew feature or improvement