You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no-useless-spread already handles cases like [...foo.toSorted()] which is awesome! However, it would be nice to also handle [...foo].toSorted() and [...foo].sort(), both of which can be replaced with foo.toSorted().
no-useless-spread
already handles cases like[...foo.toSorted()]
which is awesome! However, it would be nice to also handle[...foo].toSorted()
and[...foo].sort()
, both of which can be replaced withfoo.toSorted()
.cc @fisker, @sindresorhus
P.S. Similar work was done in this PR.
The text was updated successfully, but these errors were encountered: