From f233eb77c5c55662287991a914f3a7e2c4172db0 Mon Sep 17 00:00:00 2001 From: Evandro Sasse Date: Fri, 28 May 2021 10:19:55 -0300 Subject: [PATCH] [Docs] `require-default-props`: fix small typo --- CHANGELOG.md | 2 ++ docs/rules/require-default-props.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9663da715d..7dcfee4475 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel * [Docs] [`jsx-no-bind`]: updates discussion of refs ([#2998][] @dimitropoulos) * [Refactor] `utils/Components`: correct spelling and delete unused code ([#3026][] @ohhoney1) * [Docs] [`jsx-uses-react`], [`react-in-jsx-scope`]: document [`react/jsx-runtime`] config ([#3018][] @pkuczynski @ljharb) +* [Docs] [`require-default-props`]: fix small typo ([#2994][] @evsasse) [#3026]: https://github.com/yannickcr/eslint-plugin-react/pull/3026 [#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 [#3006]: https://github.com/yannickcr/eslint-plugin-react/pull/3006 [#3001]: https://github.com/yannickcr/eslint-plugin-react/pull/3001 [#2998]: https://github.com/yannickcr/eslint-plugin-react/pull/2998 +[#2994]: https://github.com/yannickcr/eslint-plugin-react/pull/2994 [#2992]: https://github.com/yannickcr/eslint-plugin-react/pull/2992 ## [7.24.0] - 2021.05.27 diff --git a/docs/rules/require-default-props.md b/docs/rules/require-default-props.md index c156349b35..8feaaf477d 100644 --- a/docs/rules/require-default-props.md +++ b/docs/rules/require-default-props.md @@ -342,7 +342,7 @@ MyStatelessComponent.propTypes = { ## When Not To Use It -If you don't care about using `defaultsProps` for your component's props that are not required, you can disable this rule. +If you don't care about using `defaultProps` for your component's props that are not required, you can disable this rule. # Resources - [Official React documentation on defaultProps](https://facebook.github.io/react/docs/typechecking-with-proptypes.html#default-prop-values)