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

Update ESLint config to restrict react native Picker import #6756

Closed
6 tasks done
puneetlath opened this issue Dec 14, 2021 · 0 comments
Closed
6 tasks done

Update ESLint config to restrict react native Picker import #6756

puneetlath opened this issue Dec 14, 2021 · 0 comments
Assignees
Labels
Engineering Reviewing Has a PR in review Weekly KSv2

Comments

@puneetlath
Copy link
Contributor

puneetlath commented Dec 14, 2021

We recently updated our ESLint config to restrict importing Text, TextInput, and Button from React Native (Expensify/eslint-config-expensify#38). We should also include Picker, which is a deprecated component, since that is also a component that we shadow. More context here: https://expensify.slack.com/archives/C01GTK53T8Q/p1639149638008700

https://reactnative.dev/docs/picker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

2 participants