no-array-push-push
was added in #1015, only check .push()
, opening a new issue to see if someone need this.
foo.unshift(1);
foo.unshift(2);
const length = foo.unshift(1);
foo.unshift(2);
Note: .unshift()
is a little different, need change arguments order, and consider side effects in each call.(.push
only consider side effect in second call).
Original issue #937
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too