multiple linters missed issues in scanning #5702
Unanswered
ParlamLiao
asked this question in
Q&A
Replies: 2 comments 6 replies
-
Without your configuration, it's not possible to understand the context. Note: you are using very old versions of Go and golangci-lint (3 years) |
Beta Was this translation helpful? Give feedback.
4 replies
-
Can I assume that when golangci-lint scans the entire codebase of a large project, it may still miss some issues even if the settings for max-issues-per-linter and max-same-issues are adjusted to their maximum values? @ldez |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Overview of the Situation
A large-scale project is being integrated with golangci-lint, starting with scanning the entire project to understand the current issues. Under consistent versions of Go, golangci-lint, and the configuration file golangci-lint.yml, there are some pre-existing issues that were not detected in earlier scans. These issues only started to be detected after the project went through several iterations unrelated to the original issues.
Go Version
1.20
golangci-lint Versions
v1.51.0
v1.53.3
v1.55.2
Installation Method
Linters currently observed to have missed issues
gosec / gocognit / errname
example 1
example 2
example 3
Beta Was this translation helpful? Give feedback.
All reactions