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

Broken ESLint Rule - prefer-underscore-map #7447

Closed
roryabraham opened this issue Jan 27, 2022 · 0 comments · Fixed by Expensify/eslint-config-expensify#44
Closed

Broken ESLint Rule - prefer-underscore-map #7447

roryabraham opened this issue Jan 27, 2022 · 0 comments · Fixed by Expensify/eslint-config-expensify#44
Assignees
Labels
Engineering Improvement Item broken or needs improvement. Monthly KSv2 Reviewing Has a PR in review

Comments

@roryabraham
Copy link
Contributor

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

Add some code using React.Children.map.

Expected Result:

This should not be a lint error.

Actual Result:

There is a lint error stating that one should prefer _.map, but that's not necessarily equivalent in this case.

Workaround:

Suppress the warning.

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

View all open jobs on GitHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Improvement Item broken or needs improvement. Monthly KSv2 Reviewing Has a PR in review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant