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
It appears that the prop-types rule fails parsing propTypes that are defined by use of the spread operator. This code causes the prop-types rule to throw an exception when parsing:
It appears that the prop-types rule fails parsing
propTypes
that are defined by use of the spread operator. This code causes theprop-types
rule to throw an exception when parsing:This is because
iterateProperties
in doesn't expect the "ExperimentalSpreadProperty" node.At the very least this should have the same behaviour referencing an external object and should disable the rule for the component.
The text was updated successfully, but these errors were encountered: