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
#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.
The text was updated successfully, but these errors were encountered:
#1253 added support for
propTypes
wrapped in a function tono-unused-prop-types
. Similar support does not exist for otherpropType
rules such assort-prop-types
,forbid-prop-types
, andrequire-default-props
. This came up a result of ljharb/prop-types-tools#23.@ljharb's suggestion to move the
propWrapperFunctions
setting fromno-unused-prop-types
tosettings
and add support for that setting in allpropType
rules seems like the right move.Hoping that I can find time to open a PR for this sometime over the next several weeks.
The text was updated successfully, but these errors were encountered: