Skip to content

Commit f233eb7

Browse files
evsasseljharb
authored andcommitted
[Docs] require-default-props: fix small typo
1 parent 693a689 commit f233eb7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
1818
* [Docs] [`jsx-no-bind`]: updates discussion of refs ([#2998][] @dimitropoulos)
1919
* [Refactor] `utils/Components`: correct spelling and delete unused code ([#3026][] @ohhoney1)
2020
* [Docs] [`jsx-uses-react`], [`react-in-jsx-scope`]: document [`react/jsx-runtime`] config ([#3018][] @pkuczynski @ljharb)
21+
* [Docs] [`require-default-props`]: fix small typo ([#2994][] @evsasse)
2122

2223
[#3026]: https://github.com/yannickcr/eslint-plugin-react/pull/3026
2324
[#3025]: https://github.com/yannickcr/eslint-plugin-react/pull/3025
@@ -26,6 +27,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
2627
[#3006]: https://github.com/yannickcr/eslint-plugin-react/pull/3006
2728
[#3001]: https://github.com/yannickcr/eslint-plugin-react/pull/3001
2829
[#2998]: https://github.com/yannickcr/eslint-plugin-react/pull/2998
30+
[#2994]: https://github.com/yannickcr/eslint-plugin-react/pull/2994
2931
[#2992]: https://github.com/yannickcr/eslint-plugin-react/pull/2992
3032

3133
## [7.24.0] - 2021.05.27

docs/rules/require-default-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ MyStatelessComponent.propTypes = {
342342

343343
## When Not To Use It
344344

345-
If you don't care about using `defaultsProps` for your component's props that are not required, you can disable this rule.
345+
If you don't care about using `defaultProps` for your component's props that are not required, you can disable this rule.
346346

347347
# Resources
348348
- [Official React documentation on defaultProps](https://facebook.github.io/react/docs/typechecking-with-proptypes.html#default-prop-values)

0 commit comments

Comments
 (0)