-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
gocyclo isn't run #722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It still works for me:
I'm using v1.18.0, pre-built binaries. |
@LennyPenny Are you able to reproduce this issue if you only enable |
@tpounds nop, even with only gocyclo enabled I'm still getting no results $ ~/go/bin/golangci-lint run xxx.go -v
INFO [config_reader] Config search paths: [./ /home/lenny/go/src/gitlab.com/fino/uba/pkg/http/rest/handler /home/lenny/go/src/gitlab.com/fino/uba/pkg/http/rest /home/lenny/go/src/gitlab.com/fino/uba/pkg/http /home/lenny/go/src/gitlab.com/fino/uba/pkg /home/lenny/go/src/gitlab.com/fino/uba /home/lenny/go/src/gitlab.com/fino /home/lenny/go/src/gitlab.com /home/lenny/go/src /home/lenny/go /home/lenny /home /]
INFO [config_reader] Used config file .golangci.yml
INFO [lintersdb] Active 1 linters: [gocyclo]
INFO [loader] Go packages loading at mode 7 (compiled_files|files|name) took 242.700081ms
INFO [runner] worker.2 took 75.001µs
INFO [runner] worker.6 took 2.227µs
INFO [runner] worker.3 took 1.785µs
INFO [runner] worker.7 took 2.434µs
INFO [runner] worker.8 took 2.308µs
INFO [runner] worker.4 took 1.885µs
INFO [runner] worker.1 took 583.991µs with stages: gocyclo: 574.726µs
INFO [runner] worker.5 took 1.751µs
INFO [runner] Workers idle times: #1: 29.095µs, #2: 430.702µs, #3: 280.376µs, #4: 66.266µs, #6: 348.974µs, #7: 203.423µs, #8: 133.716µs
INFO [runner] processing took 5.512µs with stages: max_same_issues: 1.226µs, skip_dirs: 724ns, nolint: 546ns, max_from_linter: 478ns, cgo: 302ns, diff: 252ns, path_prettifier: 248ns, filename_unadjuster: 228ns, path_shortener: 227ns, autogenerated_exclude: 216ns, skip_files: 216ns, identifier_marker: 199ns, source_code: 189ns, max_per_file_from_linter: 130ns, exclude-rules: 113ns, exclude: 112ns, uniq_by_line: 106ns
INFO File cache stats: 0 entries of total size 0B
INFO Memory: 5 samples, avg is 69.2MB, max is 69.4MB
INFO Execution took 318.129723ms |
Hi.
|
Yea my current goal is to build a debug version of |
Hello, having the same issue here:
My
Shouldn't the configs in |
Hello, all. Any updates here? |
Thank you for creating the issue!
Version
running
gocyclo
on its own results in results being shown, however running gocyclo throughgolangci-lint
produces no output.gocyclo
output:golangci-lint
output:Expected output:
Same as
gocyclo
outputThe text was updated successfully, but these errors were encountered: