Skip to content

Commit 3885641

Browse files
Muditxofficialljharb
authored andcommitted
[Docs] added missing curly braces
Fixes #2922.
1 parent e9a81f8 commit 3885641

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
2020
### Changed
2121
* [Docs] [`jsx-no-constructed-context-values`][]: fix invalid example syntax ([#2910][] @kud)
2222
* [readme] Replace lists of rules with tables in readme ([#2908][] @motato1)
23+
* [Docs] added missing curly braces ([#2923][] @Muditxofficial)
2324

25+
[#2923]: https://github.com/yannickcr/eslint-plugin-react/pull/2923
2426
[#2910]: https://github.com/yannickcr/eslint-plugin-react/pull/2910
2527
[#2908]: https://github.com/yannickcr/eslint-plugin-react/pull/2908
2628
[#2906]: https://github.com/yannickcr/eslint-plugin-react/pull/2906

docs/rules/jsx-indent.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Examples of **incorrect** code for this rule:
6060
(bar) => <div>hi</div>
6161
}
6262
/>
63+
}>
6364
</App>
6465

6566
// [2, 2, {indentLogicalExpressions: true}]
@@ -98,6 +99,7 @@ Examples of **correct** code for this rule:
9899
(bar) => <div>hi</div>
99100
}
100101
/>
102+
}>
101103
</App>
102104

103105
// [2, 2, {indentLogicalExpressions: true}]

0 commit comments

Comments
 (0)