Closed calda closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.16%. Comparing base (
a0e5a3a
) to head (1d88a4d
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Thanks!
This PR updates the
conditionalAssignment
rule to also simplify if/switch expressions that don't immediately follow property declarations.Previously the
conditionalAssignment
rule only handled if/switch expressions that followed a property declaration:but did nothing in other cases like this:
Now we apply the simplification to this case as well: