golangci-lint compatibility mode configuration? #2513
Replies: 2 comments 3 replies
-
Hello, currently no, but I think we already have an issue on this topic. We will not add compatibility support to allow running a very old configuration file with a newer golangci-lint, because it's almost impossible to manage. The only thing we can maybe think about it's to allow checking a version defined in the config file to notify the user if the golangci-lint doesn't have the same version. |
Beta Was this translation helpful? Give feedback.
-
At some point I had multiple binaries adding the version How about automatically pulling the correct linter version and executing it instead for us? |
Beta Was this translation helpful? Give feedback.
-
Hello guys
Is there a way to specify in the .golangci.yml configuration file a version compatibility mode for golangci-lint?
For each repository I want to stick with a particular golangci-lint version in order to allow teammates to update their linter without worrying about bringing along unexpected or incompatible linter changes across projects.
Beta Was this translation helpful? Give feedback.
All reactions