Collapsible if statements should be merged
ProprietaryMerges nested if statements that can be combined with &&. For example, if (a) { if (b) { ... } } becomes if (a && b) { ... }. Only applies when neither if has an else clause, both bodies have braces, and the outer body contains only the inner if.
io. moderne. javascript. cleanup. CollapsibleIfStatementsmod run . --recipe= io. moderne. javascript. cleanup. CollapsibleIfStatementsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.