This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 889
How would I ban native forEach loops? #733
Comments
Good question. I currently don't think this is possible, as the ban rule just matches by string. It's a good feature request though. |
Closed
related: #327 |
Need #680 for fully type information of the receiver I suspect. |
@ChrisMBarr I haven't tested it, but it doesn't look like #1408 will resolve this issue. |
Have tested it, issue is not resolved yet. |
There are several problems:
One possible (although not very nice) workaround would be to use your own modified version of |
This is now fixed by #2547 ! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've run some tests and found that native
for
loops are much faster than usingsomeArray.forEach
and 3rd party libraryforEach
methods. I know how to ban the functions from jQuery and Underscore, but how do I ban the native one?The text was updated successfully, but these errors were encountered: