Debugging
You can see a verbose output of linter by using -v option.
golangci-lint run -vIf you would like to see more detailed logs you can use the environment variable GL_DEBUG.
Its value is a list of debug tags.
The existing debug tags are documented in the following file: /pkg/logutils/logutils.go
For example:
GL_DEBUG="loader,gocritic" golangci-lint runGL_DEBUG="loader,env" golangci-lint runLast updated on