-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Does it make sense to enhance the forbid-prop-types rule to check for cases using shape that do not actually add clarity to the code, for example shape({}).
By default this rule prevents vague prop types with more specific alternatives available
And:
This rule encourages prop types that more specifically document their usage.
When using for example shape({}) we are not more specifically documenting prop usage.
Palid and RaphaelEverestHuber
Metadata
Metadata
Assignees
Labels
No labels