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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
@@ -41,11 +42,12 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
*`enabled`: for enabling the rule. 0=off, 1=warn, 2=error. Defaults to 0.
205
-
*`forbidDefaultForRequired`: optional boolean to forbid prop default for a required prop. Defaults to false.
206
-
*`ignoreFunctionalComponents`: optional boolean to ignore this rule for functional components. Defaults to false.
210
+
- `enabled`: for enabling the rule. 0=off, 1=warn, 2=error. Defaults to 0.
211
+
- `forbidDefaultForRequired`: optional boolean to forbid prop default for a required prop. Defaults to false.
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. Defaults to "defaultProps".
214
+
- `ignoreFunctionalComponents`: optional boolean to ignore this rule for functional components. Defaults to false. Deprecated, use `functions` instead.
0 commit comments