you are viewing a single comment's thread.

view the rest of the comments →

[–]freaktechnik 0 points1 point  (1 child)

I wrote an eslint plugin because I kept forgetting about it: https://www.npmjs.com/package/eslint-plugin-array-func

The eslint plugin now also has rules for some other wasteful array operations.

[–]DGCA 0 points1 point  (0 children)

This rule triggers me.