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
The rule will accept sorting a mapped array, but not a flatMapped one.
I suppose the rule checks for known function names, flatMap is common enough is should probably be excluded.
The rule will accept sorting a mapped array, but not a flatMapped one.
I suppose the rule checks for known function names,
flatMap
is common enough is should probably be excluded.OK (but unicorn/prefer-array-flat-map)
OK (invalid code, just for linting demonstration purposes)
Fails
no-assign-mutated-array
The text was updated successfully, but these errors were encountered: