Closed
Description
I am trying to switch from gometalinter
, but have an issue with getting the typecheck to work as expected.
No matter what config I give it, it will only output a maximum of 3 issues (see output below, I used package github.com/xanzy/go-gitlab
to test with).
Now I did see this in the code and wondered if that caused this hard fixed number. If so I wonder if I can override that somehow, or that this hardcoded limit should be removed?
Please include the following information:
- Version of golangci-lint: golangci-lint has version 1.15.0 built from 901cf25 on 2019-02-18T08:22:26Z
- Config file: N/A
- Go version: go version go1.12 darwin/amd64
- Verbose output of running
golangci-lint run --disable-all --enable=typecheck --max-same-issues=50 -v gitlab.go
:
➜ go-gitlab git:(master) golangci-lint run --disable-all --enable=typecheck --max-same-issues=50 -v gitlab.go
INFO [config_reader] Config search paths: [./ /Users/sander/GoCode/src/github.com/xanzy/go-gitlab /Users/sander/GoCode/src/github.com/xanzy /Users/sander/GoCode/src/github.com /Users/sander/GoCode/src /Users/sander/GoCode /Users/sander /Users /]
INFO [lintersdb] Active 1 linters: [typecheck]
INFO [loader] Go packages loading at mode load types and syntax took 941.838783ms
INFO [loader] Packages that do not compile: [command-line-arguments]
INFO [runner] worker.3 took 785ns
INFO [runner] worker.4 took 4.757µs
INFO [runner] worker.2 took 3.239µs
INFO [runner] worker.1 took 232.385µs with stages: typecheck: 218.038µs
INFO [runner] Workers idle times: #2: 143.437µs, #3: 174.623µs, #4: 169.542µs
gitlab.go:289:25: undeclared name: `AccessRequestsService` (typecheck)
INFO [runner] Issues before processing: 66, after processing: 3
AccessRequests *AccessRequestsService
^
gitlab.go:290:25: undeclared name: `AwardEmojiService` (typecheck)
AwardEmoji *AwardEmojiService
^
gitlab.go:291:25: undeclared name: `IssueBoardsService` (typecheck)
Boards *IssueBoardsService
INFO [runner] processing took 3.390262ms with stages: exclude: 1.227094ms, identifier_marker: 847.713µs, cgo: 442.088µs, skip_dirs: 408.59µs, source_code: 262.358µs, path_prettifier: 80.714µs, nolint: 62.843µs, uniq_by_line: 27.824µs, autogenerated_exclude: 9.168µs, max_per_file_from_linter: 9.025µs, max_same_issues: 6.341µs, path_shortener: 1.968µs, max_from_linter: 1.8µs, replacement_builder: 1.28µs, diff: 926ns, exclude-rules: 301ns, skip_files: 229ns
^
INFO Memory: 11 samples, avg is 68.7MB, max is 68.7MB
INFO Execution took 1.078433168s
Metadata
Metadata
Assignees
Labels
No labels