Skip to content

Commit 3e52091

Browse files
authored
Merge pull request #1239 from webOS101/default-props-match-readme
Update README to include default-props-match-prop-types rule
2 parents 11117a4 + 708b961 commit 3e52091

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ Finally, enable all of the rules that you would like to use. Use [our preset](#
8080

8181
# List of supported rules
8282

83+
* [react/default-props-match-prop-types](docs/rules/default-props-match-prop-types): Prevent extraneous defaultProps on components
8384
* [react/display-name](docs/rules/display-name.md): Prevent missing `displayName` in a React component definition
8485
* [react/forbid-component-props](docs/rules/forbid-component-props.md): Forbid certain props on Components
8586
* [react/forbid-elements](docs/rules/forbid-elements.md): Forbid certain elements
@@ -153,7 +154,7 @@ Finally, enable all of the rules that you would like to use. Use [our preset](#
153154

154155
## Recommended
155156

156-
This plugin exports a `recommended` configuration that enforce React good practices.
157+
This plugin exports a `recommended` configuration that enforces React good practices.
157158

158159
To enable this configuration use the `extends` property in your `.eslintrc` config file:
159160

0 commit comments

Comments
 (0)