Is there an existing issue for this?
Description Overview
It currently only works on Class components, which are not in favor in the codebases in which I work. The rule doesn't trigger any warnings on properties on a functional component.
Expected Behavior
It should behave the same on functional components as it does on class components.
eslint-plugin-react version
v7.32.2
eslint version
8.40.0
node version
v16.17.1