fix(lint): exclude unused parameters from noop logger #196
ci.yaml
on: pull_request
Matrix: Integration test Kubernetes
Check
1m 34s
Unit test
1m 51s
Helm chart test
25s
Integration test CLI
1m 32s
Release images
0s
Tagged release images
0s
Tagged release binaries
0s
Annotations
10 errors
Check:
internal/log/log.go#L24
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
internal/log/log.go#L25
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
internal/log/log.go#L26
unused-parameter: parameter 'format' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
internal/log/log.go#L30
unused-parameter: parameter 'values' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
test/integration/prometheus/plugin/plugin.go#L24
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
test/integration/k8scontroller/plugin/plugin.go#L24
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
internal/alert/window.go#L224
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
internal/prometheus/recording_rules.go#L80
unused-parameter: parameter 'alerts' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
internal/prometheus/recording_rules.go#L110
unused-parameter: parameter 'alerts' seems to be unused, consider removing or renaming it as _ (revive)
|
Check:
internal/prometheus/recording_rules.go#L146
unused-parameter: parameter 'alerts' seems to be unused, consider removing or renaming it as _ (revive)
|