diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f6f459e9e..d15f06d4e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,9 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel ### Changed * [Docs] [`jsx-no-constructed-context-values`][]: fix invalid example syntax ([#2910][] @kud) * [readme] Replace lists of rules with tables in readme ([#2908][] @motato1) +* [Docs] added missing curly braces ([#2923][] @Muditxofficial) +[#2923]: https://github.com/yannickcr/eslint-plugin-react/pull/2923 [#2910]: https://github.com/yannickcr/eslint-plugin-react/pull/2910 [#2908]: https://github.com/yannickcr/eslint-plugin-react/pull/2908 [#2906]: https://github.com/yannickcr/eslint-plugin-react/pull/2906 diff --git a/docs/rules/jsx-indent.md b/docs/rules/jsx-indent.md index 18573a6dab..064417052c 100644 --- a/docs/rules/jsx-indent.md +++ b/docs/rules/jsx-indent.md @@ -60,6 +60,7 @@ Examples of **incorrect** code for this rule: (bar) =>
hi
} /> + }> // [2, 2, {indentLogicalExpressions: true}] @@ -98,6 +99,7 @@ Examples of **correct** code for this rule: (bar) =>
hi
} /> + }> // [2, 2, {indentLogicalExpressions: true}]