fix(lint): exclude unused parameters from noop logger #195
ci.yaml
on: push
Matrix: Integration test Kubernetes
Check
2m 4s
Unit test
1m 53s
Helm chart test
1m 33s
Integration test CLI
1m 47s
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/k8scontroller/plugin/plugin.go#L24
unused-parameter: parameter 'ctx' 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:
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)
|