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
An array of strings, with the names of `PropTypes` keys that are forbidden. The default value for this option is `['any', 'array', 'object']`.
54
54
55
+
### `checkContextTypes`
56
+
57
+
Whether or not to check `contextTypes` for forbidden prop types. The default value is false.
58
+
59
+
### `checkChildContextTypes`
60
+
61
+
Whether or not to check `childContextTypes` for forbidden prop types. The default value is false.
62
+
55
63
## When not to use
56
64
57
65
This rule is a formatting/documenting preference and not following it won't negatively affect the quality of your code. This rule encourages prop types that more specifically document their usage.
0 commit comments