Find non-flags enum with [Flags]

Proprietary

Detect enums marked with [Flags] whose values are not powers of two, indicating they are not truly flags enums.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindNonFlagsEnumWithFlagsAttribute
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindNonFlagsEnumWithFlagsAttribute

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.