From a8ecd54b745f1bdc4498f087d6dcad0594ece6ee Mon Sep 17 00:00:00 2001 From: Alexander Shakhbalaev Date: Fri, 24 Sep 2021 23:18:16 +0300 Subject: [PATCH] [Docs] `jsx-max-props-per-line`: fix options example --- CHANGELOG.md | 4 ++++ docs/rules/jsx-max-props-per-line.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05cbc962ef..fe052d4475 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel ### Fixed * [`no-namespace`]: fix crash on non-string React.createElement name ([#3082] @ljharb) +### Changed +* [Docs] [`jsx-max-props-per-line`]: fix options example ([#3083] @MrRaiter) + +[#3083]: https://github.com/yannickcr/eslint-plugin-react/pull/3083 [#3082]: https://github.com/yannickcr/eslint-plugin-react/pull/3082 ## [7.26.0] - 2021.09.20 diff --git a/docs/rules/jsx-max-props-per-line.md b/docs/rules/jsx-max-props-per-line.md index 5bae2076cf..182dc05d33 100644 --- a/docs/rules/jsx-max-props-per-line.md +++ b/docs/rules/jsx-max-props-per-line.md @@ -43,7 +43,7 @@ Examples of **correct** code for this rule: // OR ... -"react/jsx-max-props-per-line": [, { "maximum": { single multi: } }] +"react/jsx-max-props-per-line": [, { "maximum": { "single": , "multi": } }] ... ```