Disable the unicorn/prefer-array-find
rule
#230
leroykorterink
started this conversation in
General
Replies: 1 comment 2 replies
-
We should not disable this rule because Array#find() and Array#findLast() breaks the loop as soon as it finds a match and doesn't create a new array.
I've not seen this issue before, can you let me know how I this can be reproduced? Please see the documentation of the rule. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is a proposal to disable the
unicorn/prefer-array-find
rule.Beta Was this translation helpful? Give feedback.
All reactions