Skip to content

fix(prefer-array-from-map): don't flag mappers with >2 params - #159

Merged
43081j merged 1 commit into
mainfrom
jg/map-params
Sep 17, 2026
Merged

43081j merged 1 commit into
mainfrom
jg/map-params

Conversation

@43081j

@43081j 43081j commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

If a mapper has more than 2 parameters, it can't be represented in
Array.from since those mappers only receive two arguments.

If a mapper has more than 2 parameters, it can't be represented in
`Array.from` since those mappers only receive two arguments.
@43081j
43081j merged commit 32f2c34 into main Sep 17, 2026
3 checks passed
@43081j
43081j deleted the jg/map-params branch September 17, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant