Skip to content

Commit a8ecd54

Browse files
MrRaiterljharb
authored andcommitted
[Docs] jsx-max-props-per-line: fix options example
1 parent a4bf7da commit a8ecd54

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
88
### Fixed
99
* [`no-namespace`]: fix crash on non-string React.createElement name ([#3082] @ljharb)
1010

11+
### Changed
12+
* [Docs] [`jsx-max-props-per-line`]: fix options example ([#3083] @MrRaiter)
13+
14+
[#3083]: https://github.com/yannickcr/eslint-plugin-react/pull/3083
1115
[#3082]: https://github.com/yannickcr/eslint-plugin-react/pull/3082
1216

1317
## [7.26.0] - 2021.09.20

docs/rules/jsx-max-props-per-line.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Examples of **correct** code for this rule:
4343
// OR
4444

4545
...
46-
"react/jsx-max-props-per-line": [<enabled>, { "maximum": { single <number> multi: <number> } }]
46+
"react/jsx-max-props-per-line": [<enabled>, { "maximum": { "single": <number>, "multi": <number> } }]
4747
...
4848
```
4949

0 commit comments

Comments
 (0)