Skip to content

Commit

Permalink
[Docs] added missing curly braces
Browse files Browse the repository at this point in the history
Fixes #2922.
  • Loading branch information
Muditxofficial authored and ljharb committed Feb 14, 2021
1 parent e9a81f8 commit 3885641
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions docs/rules/jsx-indent.md
Expand Up @@ -60,6 +60,7 @@ Examples of **incorrect** code for this rule:
(bar) => <div>hi</div>
}
/>
}>
</App>

// [2, 2, {indentLogicalExpressions: true}]
Expand Down Expand Up @@ -98,6 +99,7 @@ Examples of **correct** code for this rule:
(bar) => <div>hi</div>
}
/>
}>
</App>

// [2, 2, {indentLogicalExpressions: true}]
Expand Down

0 comments on commit 3885641

Please sign in to comment.