Open wpyeon opened 1 year ago
It is a bug of the underlying eslint-plugin-react-native. But it has not been updated for a while. I guess you can disable this rule on that line with // eslint-disable-next-line react-native/no-raw-text
. For details, see Disabling rules. When I have time, I would drop eslint-plugin-react-native and adopt @react-native-community/eslint-config instead.
https://github.com/oursky/eslint-oursky/blob/0267bdb60c56dd35b49193246c85667d8116ebb5/src/configs/reactnative.mjs#L7
I have trouble passing the lint test due to error when I nest a Text component inside another Text component:
Error message: