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
@@ -33,7 +33,7 @@ The following patterns are not considered warnings:
33
33
```jsx
34
34
var Hello =createReactClass({
35
35
propTypes: {
36
-
name:React.PropTypes.string
36
+
name:PropTypes.string
37
37
},
38
38
render:function() {
39
39
return<div>Hello {this.props.name}</div>;
@@ -53,7 +53,7 @@ This rule can take one argument to ignore some specific props during validation.
53
53
54
54
*`enabled`: for enabling the rule. 0=off, 1=warn, 2=error. Defaults to 0.
55
55
*`customValidators`: optional array of validators used for propTypes validation.
56
-
*`skipShapeProps`: In some cases it is impossible to accurately detect whether or not a `React.PropTypes.shape`'s values are being used. Setting this option to `true` will skip validation of `PropTypes.shape` (`true` by default).
56
+
*`skipShapeProps`: In some cases it is impossible to accurately detect whether or not a `PropTypes.shape`'s values are being used. Setting this option to `true` will skip validation of `PropTypes.shape` (`true` by default).
0 commit comments