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

fix(no-use-computed-property-like-method): extract LogicalExpression #2438

Conversation

waynzh
Copy link
Member

@waynzh waynzh commented Mar 31, 2024

fixes #2037

Before: The judgment of maybeFunction skipped LogicalExpression;
Now: The LogicalExpression will also be included in the judgment of whether it may be a function (by checking it's left and right node); if one of them may be, then calls like methods are allowed.

@waynzh waynzh force-pushed the fix/logic-expression-no-use-computed-property-like-method branch from d516d40 to 796ce2a Compare March 31, 2024 13:41
Copy link
Member

@FloEdelmann FloEdelmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks! 🙂

@FloEdelmann FloEdelmann requested a review from ota-meshi April 2, 2024 09:11
Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants