v4.2.3
Bug fixes
- dc212fb fixed
no-useless-rest-spread
rule to not fix arrays which have holes automatically because it changes the behavior in an unintuitive manner.
> [,,, 1].forEach(v => console.log(v))
1
> [...[,,,], 1].forEach(v => console.log(v))
undefined
undefined
undefined
1
>