From 69c2289534953e22f8e13b686c126db4435b6d69 Mon Sep 17 00:00:00 2001 From: Karl Isenberg Date: Tue, 15 Feb 2022 15:28:54 -0800 Subject: [PATCH] chore: Disable stutter linter on actuation enums --- pkg/apis/actuation/types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/apis/actuation/types.go b/pkg/apis/actuation/types.go index 49cbdfb0..0f1dd642 100644 --- a/pkg/apis/actuation/types.go +++ b/pkg/apis/actuation/types.go @@ -79,6 +79,7 @@ type ObjectStatus struct { Generation int64 `json:"generation,omitempty"` } +//nolint:revive // consistent prefix improves tab-completion for enums //go:generate stringer -type=ActuationStrategy -linecomment type ActuationStrategy int @@ -87,6 +88,7 @@ const ( ActuationStrategyDelete // Delete ) +//nolint:revive // consistent prefix improves tab-completion for enums //go:generate stringer -type=ActuationStatus -linecomment type ActuationStatus int