Most propType rules do not support propTypes wrapped in a function #1266
Closed
Description
opened on Jun 20, 2017
#1253 added support for propTypes
wrapped in a function to no-unused-prop-types
. Similar support does not exist for other propType
rules such as sort-prop-types
, forbid-prop-types
, and require-default-props
. This came up a result of ljharb/prop-types-tools#23.
@ljharb's suggestion to move the propWrapperFunctions
setting from no-unused-prop-types
to settings
and add support for that setting in all propType
rules seems like the right move.
Hoping that I can find time to open a PR for this sometime over the next several weeks.
Activity