Open FrederickEngelhardt opened 4 years ago
PR incoming to add a filter to imports to verify that Image comes from react-native.
Hey, thank you for your work! Is there any chance this could still be merged/fixed? We were thinking of adding these rules to our linting, but as we are using styled-components, the rules don't really work as they should :/ Thank you!
When importing the component under an alias of Image or a named export { Image } I get the following error. Looks like the Eslint rule is looking for any component named Image and applying this rule. Is it possible to get the eslint rule to only apply to Images imported directly from react-native?
Code: Image.tsx
And example area you would have an error App.tsx