prop-types rule should not trigger error for attributes #135
Closed
Description
opened on Jun 29, 2015
Using version 2.6.2
and the rule react/prop-types
:
"react/prop-types": [2, {"ignore": ["foo"]}],
Then I have error if in my code I'm doing:
this.props.foo.bar
'foo.bar' is missing in props validation for XYZ
Although I would have expected not to trigger any error since I asked to ignore foo.
Activity