Skip to content

Commit f3a9d99

Browse files
authored
Use full name of the rule
When adding this rule, I wasn't sure if it's `react/default-props-match-prop-types` or `default-props-match-prop-types`...
1 parent 2393236 commit f3a9d99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/default-props-match-prop-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ NotAComponent.propTypes = {
154154

155155
```js
156156
...
157-
"default-props-match-prop-types": [<enabled>, { "allowRequiredDefaults": <boolean> }]
157+
"react/default-props-match-prop-types": [<enabled>, { "allowRequiredDefaults": <boolean> }]
158158
...
159159
```
160160

0 commit comments

Comments
 (0)