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

Detect prefer-for in chain expressions #71

Merged

Conversation

aadito123
Copy link
Contributor

If a .map is used on a ChainExpression, then the linter does not detect it.

Example:
let array; ... {array?.map(() => <h1 />))

Just fixed it, and added test cases.

@joshwilsonvu joshwilsonvu merged commit e918029 into solidjs-community:main Feb 19, 2023
@joshwilsonvu
Copy link
Collaborator

Thanks, out in v0.10.0!

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.

2 participants