-
-
Notifications
You must be signed in to change notification settings - Fork 794
Labels
A-LinterArea: linterArea: linterL-JavaScriptLanguage: JavaScript and super languagesLanguage: JavaScript and super languagesS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid buggood first issueGood for newcomersGood for newcomers
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
Metadata
Metadata
Assignees
Labels
A-LinterArea: linterArea: linterL-JavaScriptLanguage: JavaScript and super languagesLanguage: JavaScript and super languagesS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid buggood first issueGood for newcomersGood for newcomers