golang / vscode-go

Go extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=golang.Go
Other
3.79k stars 728 forks source link

Use multiple golint tools in the same repo #3204

Open aaomidi opened 4 months ago

aaomidi commented 4 months ago

Is your feature request related to a problem? Please describe. We have two golangci-lint files in our repo. One is the default one. The other is the "Run this only on new changes (using the --new-from-rev flag)". They have different configurations, and will need different flags to work.

Describe the solution you'd like I want to be able to configure both of these in my environment, with different flags and configs for each.

Describe alternatives you've considered Alternative: I created a merged config just for the IDE. Not a great solution since I now need to maintain an extra file.