dgraham / eslint-plugin-jquery

Disallow jQuery functions with native equivalents.
MIT License
209 stars 22 forks source link

Library makes no distinction utilities and traversal methods with the same name #29

Closed edg2s closed 5 years ago

edg2s commented 6 years ago

There are two separate methods called 'each' with different documentation pages:

The same is true of 'map':

dgraham commented 5 years ago

Right, a single rule covers both cases so all jQuery iteration is deprecated together and can be replaced with native loops and maps.