You can see a verbose output of linter by using -v
option.
If you would like to see more detailed logs you can set environment variable GL_DEBUG
to debug golangci-lint
.
It's value is a list of debug tags. For example, GL_DEBUG=loader,gocritic golangci-lint run
.
Existing debug tags:
gocritic
- debuggo-critic
linter;env
- debuggo env
command;loader
- debug packages loading (includinggo/packages
internal debugging);autogen_exclude
- debug a filter excluding autogenerated source code;nolint
- debug a filter excluding issues by//nolint
comments.