Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
lint: enable errcheck; add allowlist and explicit checks #3403
lint: enable errcheck; add allowlist and explicit checks #3403
Changes from all commits
20995ae
00ab15c
e3783ec
99e60f3
c7dd66d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 78 in cmd/crowdsec-cli/climachine/add.go
Codecov / codecov/patch
cmd/crowdsec-cli/climachine/add.go#L76-L78
Check warning on line 336 in pkg/acquisition/modules/appsec/appsec.go
Codecov / codecov/patch
pkg/acquisition/modules/appsec/appsec.go#L333-L336
Check warning on line 159 in pkg/acquisition/modules/kubernetesaudit/k8s_audit.go
Codecov / codecov/patch
pkg/acquisition/modules/kubernetesaudit/k8s_audit.go#L158-L159
Check warning on line 62 in pkg/cticlient/example/fire.go
Codecov / codecov/patch
pkg/cticlient/example/fire.go#L61-L62
Check warning on line 66 in pkg/cticlient/example/fire.go
Codecov / codecov/patch
pkg/cticlient/example/fire.go#L65-L66
Check warning on line 156 in pkg/exprhelpers/helpers.go
Codecov / codecov/patch
pkg/exprhelpers/helpers.go#L156
Check warning on line 167 in pkg/exprhelpers/helpers.go
Codecov / codecov/patch
pkg/exprhelpers/helpers.go#L167
Check warning on line 463 in pkg/leakybucket/manager_load.go
Codecov / codecov/patch
pkg/leakybucket/manager_load.go#L461-L463
Check warning on line 358 in pkg/parser/node.go
Codecov / codecov/patch
pkg/parser/node.go#L357-L358
Check warning on line 117 in pkg/parser/stage.go
Codecov / codecov/patch
pkg/parser/stage.go#L117
Check warning on line 122 in pkg/parser/stage.go
Codecov / codecov/patch
pkg/parser/stage.go#L120-L122
Check warning on line 197 in pkg/setup/install.go
Codecov / codecov/patch
pkg/setup/install.go#L196-L197