You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that when using default configuration (i.e., default set of linters) and enabling gocyclo both using command line arguments or .golangci.yml, gocyclo is actually not running or it can rarely give one output (although I know it should output a ton of warnings).
Looks like something interrupting it's work.
So I've tried to disable all the linters (including enabled by default) but left gocyclo enabled and it started to work like a charm.
Then I enabled govet and gocyclo continued to work correctly.
But when I was trying to enable some other linters from default linter set, gocyclo went back to incorrect work (or no work at all, to be precise).
GolangCI-Lint version: 1.3.6
Go version: 1.10
I've noticed that when using default configuration (i.e., default set of linters) and enabling
gocyclo
both using command line arguments or.golangci.yml
,gocyclo
is actually not running or it can rarely give one output (although I know it should output a ton of warnings).Looks like something interrupting it's work.
So I've tried to disable all the linters (including enabled by default) but left
gocyclo
enabled and it started to work like a charm.Then I enabled
govet
andgocyclo
continued to work correctly.But when I was trying to enable some other linters from default linter set,
gocyclo
went back to incorrect work (or no work at all, to be precise).Here's the config:
The text was updated successfully, but these errors were encountered: