Remove duplicate conditions
ProprietaryRemove else-if branches whose condition duplicates an earlier branch in the same if/else-if chain, since the later branch is dead code.
OpenRewrite. Recipes. CSharp. CodeQuality. Redundancy. RemoveDuplicateConditionsmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Redundancy. RemoveDuplicateConditionsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.