-
Notifications
You must be signed in to change notification settings - Fork 130
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-raw-text nested text issue #271
Comments
The issue exists on v3.9.0 too. v3.8.1 is fine though. I'm testing with a custom text component like so: |
Any help on this issue is appreciated, I think its the same as this: #269 |
Still present in |
Still present in 3.11.0. As a workaround, you can configure the rule with |
Noticed in 3.11.0 too, cheers @ejain this works for me 'react-native/no-raw-text': ['error', { skip: 'Text.Text' }] |
Yeah, I found this really confusing as nesting text like this is exactly what the React Native docs tell you to do. I made a YAML version of the workaround by ejain:
|
On "eslint-plugin-react-native": "3.9.1" there seems to be a false positive error/warning
There seems to be a problem with Nested Text for this rule.
The text was updated successfully, but these errors were encountered: