Skip to content

Commit 4bda7e4

Browse files
author
Dustin Masters
committed
Clarify documentation
1 parent ef753d8 commit 4bda7e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/no-unused-prop-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ This rule can take one argument to ignore some specific props during validation.
5454
* `enabled`: for enabling the rule. 0=off, 1=warn, 2=error. Defaults to 0.
5555
* `customValidators`: optional array of validators used for propTypes validation.
5656
* `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).
57-
* `propWrapperFunctions`: Needed when wrapping propTypes in a function, such as `forbidExtraProps`. Otherwise propType checking will be skipped.
57+
* `propWrapperFunctions`: The names of any functions used to wrap the propTypes object, such as `forbidExtraProps`. If this isn't set, any propTypes wrapped in a function will be skipped.
5858

5959
## Caveats
6060

0 commit comments

Comments
 (0)