eslint-plugin-array-func
eslint-plugin-array-func copied to clipboard
Try to add type detection for no-unnecessary-this-arg
Ensure methods are called on arrays, though that may be quite complicated, especially with method return values. Maybe change the certainness?
Such a change should also add an option to toggle detecting the this
argument for other iterables, like Maps, Sets, NodeLists, DOMTokenLists, TypedArrays and many more.