feat: opt-in creating wg-policy PolicyReport #3787
Annotations
10 errors
internal/controller/stas/policy_report.go#L37
func `(*policyReportPatch).withSummary` is unused (unused)
|
internal/controller/stas/containerimagescan_status.go#L99
only one cuddle assignment allowed before if statement (wsl)
|
internal/controller/stas/containerimagescan_status.go#L102
assignments should only be cuddled with other assignments (wsl)
|
internal/controller/stas/containerimagescan_status.go#L103
only one cuddle assignment allowed before range statement (wsl)
|
internal/controller/stas/policy_report.go#L52
return statements should not be cuddled if block has more than two lines (wsl)
|
internal/controller/stas/policy_report.go#L65
only one cuddle assignment allowed before if statement (wsl)
|
internal/controller/stas/policy_report.go#L95
if statements should only be cuddled with assignments (wsl)
|
internal/controller/stas/policy_report.go#L98
if statements should only be cuddled with assignments (wsl)
|
internal/controller/stas/ssa_client.go#L105
if statements should only be cuddled with assignments (wsl)
|
internal/controller/stas/ssa_client.go#L113
expressions should not be cuddled with blocks (wsl)
|
This job failed
Loading