Skip to content

Commit

Permalink
chore: Disable stutter linter on actuation enums
Browse files Browse the repository at this point in the history
  • Loading branch information
karlkfi committed Feb 15, 2022
1 parent 4b30ea4 commit 69c2289
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/actuation/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 69c2289

Please sign in to comment.