Rule Change: array-callback-return
should support Stage 4 Array.prototype.toSorted
`
#16842
Closed
1 task done
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
What rule do you want to change?
array-callback-return
What change to do you want to make?
Generate more warnings
How do you think the change should be implemented?
A new default behavior
Example code
What does the rule currently do for this code?
Do nothing
What will the rule do after it's changed?
Warns as for
Array.prototype.sort
.Participation
Additional comments
Change array by copy proposal reaches to Stage 4
ref: tc39/proposals@ad4df84
The text was updated successfully, but these errors were encountered: