Skip to content

[Due for payment 2025-11-21] [$250] Enable prefer-set-size ESLint rule #67424

Closed

Description

@roryabraham

Coming from #67420


Problem

When Array.from(set).length is used, then a full array is created in memory just to count the number of elements in a set.

Solution

Enable eslint-plugin-unicorn’s prefer-set-size to use set.size, which returns the size directly in constant time without allocation.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021968163507175173109
  • Upwork Job ID: 1968163507175173109
  • Last Price Increase: 2025-11-22
  • Automatic offers:
    • NJ-2020 | Contributor | 109179401
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @zanyrenney

Activity

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

    @roryabraham
    Author
  5. roryabraham commented on Sep 12, 2025

    @roryabraham
    Author
  6. 103 remaining items

  7. melvin-bot commented on Nov 15, 2025

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  8. jjcoffee commented on Nov 20, 2025

    @jjcoffee
    Contributor

    Just to note that no checklist is required here 🙏

  9. Ethan-Cole-AnGeL commented on Nov 20, 2025

    @Ethan-Cole-AnGeL
  10. melvin-bot commented on Nov 20, 2025

    @melvin-bot
  11. added
    Daily
    and removed
    Weekly
    on Nov 20, 2025
  12. melvin-bot commented on Nov 22, 2025

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  13. jjcoffee commented on Nov 24, 2025

    @jjcoffee
    Contributor

    @zanyrenney This one's ready for payment when you get a chance 🙇

  14. zanyrenney commented on Nov 24, 2025

    @zanyrenney
    Contributor

    Thank you @jjcoffee

  15. zanyrenney commented on Nov 24, 2025

    @zanyrenney
    Contributor

    payment summary

    @jjcoffee requires payment through NewDot Manual Requests - please request $250 on ND.
    @NJ-2020 requires payment automatic offer (Contributor) - paid $250 via upwork.

  16. trjExpensify commented on Nov 25, 2025

    @trjExpensify
    Contributor

    approved $250 for @jjcoffee

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

Metadata

Metadata

Labels

Awaiting PaymentDailyExternalHelp Wanted

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions