You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is similar to #226 but slightly different in that it's separately warning on missing required props. I'll leave both open, but I think both could be handled by one rule with an option to restrict enforcement to missing required props.
Suppose propTypes states one prop to be
isRequired
, but that prop is not used in component definition. This could be a problem.For the time being, React reports a warning like
It would be nice to have it reported as error in lint phase.
The text was updated successfully, but these errors were encountered: