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
- `enabled`: for enabling the rule. 0=off, 1=warn, 2=error. Defaults to 0.
213
211
- `forbidDefaultForRequired`: optional boolean to forbid prop default for a required prop. Defaults to false.
214
-
-`classes`: For now, only works with "defaultProps".
215
-
-`functions`: optional string that this rule determines strategy for the function. "defaultArguments" is recommended. We will change it to deafult later. Defaults to "defaultProps".
212
+
- `classes`: optional string to determine which strategy a class component uses for defaulting props. Defaults to"defaultProps".
213
+
- `functions`: optional string to determine which strategy a functional component uses for defaulting props. "defaultArguments" is recommended. We will change it to deafult later. Defaults to "defaultProps".
216
214
- `ignoreFunctionalComponents`: optional boolean to ignore this rule for functional components. Defaults to false. Deprecated, use `functions` instead.
0 commit comments