Open
Description
Environment information
I am using Biome strictly in the IDE, so this n/a for me.
Rule name
no-accumulating-spread
Playground link
Expected result
The No Accumulating Spread rule prevents the O(n^2)
problem by not allowing the use of object spreader syntax on accumulators. However, object spreader syntax is just syntactical sugar for Object.assign
. And no error is shown for utilizing Object.assign
on an accumulator, even though it faces the same O(n^2)
problem.
Code of Conduct
- I agree to follow Biome's Code of Conduct