no-raw-text nested text issue
See original GitHub issueOn “eslint-plugin-react-native”: “3.9.1” there seems to be a false positive error/warning
<Text testID="OuterTestId">
Message from
<Text numberOfLines={1} ellipsizeMode="middle" style={styles.middleText}>
{username}
</Text>
</Text>
There seems to be a problem with Nested Text for this rule.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:20
- Comments:6 (1 by maintainers)
Top Results From Across the Web
XSL - How to ouput nested text-elements at the correct position
I need to transform the xml, because the original file does not seem to display any images. Is there any possibility I can...
Read more >eslint-plugin-react-native - Bountysource
Seems to be something to do with nested text that has a function defined somewhere inside. In our case there's a reducer for...
Read more >Solved: Nested Text.Contains based on "higher" column
Solved: Hi all, I have some dificulty with the following case. I hope you can help! Main goal of the case is to...
Read more >ESLint & Prettierrc - Sumerian school
'object-curly-spacing': ['error', 'always'],. camelcase: 0,. 'no-nested-ternary': 0, ... 'react-native/no-raw-text': 0,. 'consistent-return': 0.
Read more >@intlify/eslint-plugin-vue-i18n | Yarn - Package Manager
:bug: Bug Fixes · #315 Fix crash with null value in no-raw-text rule (@ota-meshi) · #313 Fix false positives in no-missing-keys (@ota-meshi) ·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Still present in 3.11.0. As a workaround, you can configure the rule with
{ "skip": [ "Text.Text" ] }]
(add"Text.Text.Text"
for two levels of nesting etc).Still present in
"eslint-plugin-react-native": "^3.10.0"