Remove unconditional value overwrites
ProprietaryRemove consecutive assignments that write to the same object property or bracket-accessed key, since the first value is immediately overwritten and never used. The first write stays where the target is reached through another property, where either value may have side effects, where the key may be coerced by user code, and where the second value reads a property or names the target's object, as in o.x = o, since it may read the first value.
io. moderne. javascript. cleanup. RemoveUnconditionalValueOverwritemod run . --recipe= io. moderne. javascript. cleanup. RemoveUnconditionalValueOverwriteInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.