Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no-array-callback-reference: Check logical expressions, Check ternaries deeply #2289

Merged
merged 5 commits into from Feb 25, 2024

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented Feb 24, 2024

Fixes #2288

Also fix logical expressions

a.map(b || c)

was ignored incorrectly

@fisker fisker changed the title no-array-callback-reference: Check ternaries deeply no-array-callback-reference: Check logical expressions, Check ternaries deeply Feb 24, 2024
@fisker fisker marked this pull request as ready for review February 24, 2024 15:50
@sindresorhus sindresorhus merged commit 231529a into sindresorhus:main Feb 25, 2024
18 checks passed
@fisker fisker deleted the ternary branch February 25, 2024 16:31
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.

no-array-callback-reference false positive when using ternary
2 participants