Skip to content

[Due for payment 2025-11-20] [$250] Enable prefer-array-find eslint rule #67423

Closed

Description

@roryabraham

Coming from #67420


Problem

When .filter(...)[0] is used to find a matching item, then the entire array is traversed even after a match is found.

Solution

Enable eslint-plugin-unicorn’s prefer-array-find rule to enforce that .find or .findLast are used instead, preventing unnecessary iterations.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021968163440271846572
  • Upwork Job ID: 1968163440271846572
  • Last Price Increase: 2025-09-17
  • Automatic offers:
    • NJ-2020 | Contributor | 109149716
Issue OwnerCurrent Issue Owner: @sobitneupane

Activity

  1. self-assigned this
    on Jul 30, 2025
  2. added
    Weekly
    Improvement
    on Jul 30, 2025
  3. moved this from LOW to CRITICAL in [#whatsnext] #qualityon Jul 30, 2025
  4. moved this from CRITICAL to HIGH in [#whatsnext] #qualityon Jul 30, 2025
  5. linhvovan29546 commented on Jul 30, 2025

    @linhvovan29546
    Contributor

    @roryabraham Is this open for proposals and external contributers?

  6. roryabraham commented on Aug 5, 2025

    @roryabraham
    ContributorAuthor

    no thanks @linhvovan29546

  7. roryabraham commented on Sep 2, 2025

    @roryabraham
    ContributorAuthor

    Looking for a team of two volunteers to take this on: https://expensify.slack.com/archives/C08CZDJFJ77/p1756853317764529

  8. 67 remaining items

  9. melvin-bot commented on Nov 13, 2025

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  10. melvin-bot commented on Nov 13, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.57-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2025-11-20. 🎊

    For reference, here are some details about the assignees on this issue:

  11. melvin-bot commented on Nov 13, 2025

    @melvin-bot

    @sobitneupane The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  12. added
    Daily
    and removed
    Weekly
    on Nov 19, 2025
  13. NJ-2020 commented on Nov 25, 2025

    @NJ-2020
    Contributor

    Hi 👋, @isabelastisser This one's ready for payment & it's already been 2 weeks since the production deploy, please when you get a chance. Many thanks

  14. melvin-bot commented on Nov 28, 2025

    @melvin-bot

    @sobitneupane Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

  15. NJ-2020 commented on Nov 29, 2025

    @NJ-2020
    Contributor
  16. melvin-bot commented on Dec 1, 2025

    @melvin-bot

    @sobitneupane 10 days overdue. Is anyone even seeing these? Hello?

  17. isabelastisser commented on Dec 1, 2025

    @isabelastisser
    Contributor

    @sobitneupane, @NJ-2020, I apologize for the delay in payment. I was OOO last week, but will handle this now.

  18. isabelastisser commented on Dec 1, 2025

    @isabelastisser
    Contributor

    Payment summary:

    @sobitneupane requires payment through NewDot Manual Requests $250 for C+ review
    @NJ-2020 paid $250 in Upwork automatic offer (Contributor)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions