Open
Description
Here is example component where no-unused-styles
works:
But if the same component is refactored to functional component the validation is not working anymore
Also the docs https://github.com/Intellicode/eslint-plugin-react-native/blob/master/docs/rules/no-unused-styles.md don't say anything that this validation should work only on classes so I think this is a bug then.
Does anybody have a clue how to fix this? I can help if needed 👍