mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-03 00:57:52 +02:00
... and configure it to run the same checks as golangci-lint. It may seem redundant to have two linter checks enabled; however, there are reasons to have both. golangci-lint is what we are running on CI, and it has a lot more linters than gopls, so we want to run it locally too to get the same coverage. The linter that is built into gopls is only staticcheck, so that's redundant; but it has the advantage that the warnings appear a bit faster (golangci-lint runs only on save, and with a bit of delay), and in particular it provides quick fixes for some of the checks, which is quite convenient.