Remove duplicate conditions in if/else-if chains
ProprietaryRemove else if branches whose condition is identical to an earlier branch in the same if/else if chain when all conditions from the first occurrence through the duplicate are provably free of side effects.
io. moderne. javascript. cleanup. RemoveDuplicateConditionsmod run . --recipe= io. moderne. javascript. cleanup. RemoveDuplicateConditionsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.