-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Typecheck will never output more then 3 issues #419
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
Hi, Why would you like to see > 3 issues from typecheck per file? |
I ran into this by accident just now looking for something else relating to golangci-lint, but the reason I would like all of the error messages is so that when there are linting errors in CI, I have a complete list of locations to go fix. |
We can make an option in config for disabling such hardcoded limits |
That shoulds like a good way forward to me! |
You can use
To configure number of errors displayed. |
Nice 👍 Thanks! |
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:
golangci-lint run --disable-all --enable=typecheck --max-same-issues=50 -v gitlab.go
:The text was updated successfully, but these errors were encountered: