Skip to content

Commit 6d7e5a1

Browse files
DennisSkokoljharb
authored andcommitted
[Docs] jsx-newline: Fix minor spelling error on rule name
1 parent cad79bb commit 6d7e5a1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
1111
### Fixed
1212
* [`jsx-handler-names`]: properly substitute value into message ([#2975][] @G-Rath)
1313

14+
### Changed
15+
* [Docs] [`jsx-newline`]: Fix minor spelling error on rule name ([#2974][] @DennisSkoko)
16+
1417
[#2975]: https://github.com/yannickcr/eslint-plugin-react/pull/2975
18+
[#2974]: https://github.com/yannickcr/eslint-plugin-react/pull/2974
1519
[#2713]: https://github.com/yannickcr/eslint-plugin-react/pull/2713
1620

1721
## [7.23.2] - 2021.04.08

docs/rules/jsx-newline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This is a stylistic rule intended to make JSX code more readable by requiring or
99
## Rule Options
1010
```json
1111
...
12-
"react/jsx-new-line": [<enabled>, { "prevent": <boolean> }]
12+
"react/jsx-newline": [<enabled>, { "prevent": <boolean> }]
1313
...
1414
```
1515

@@ -129,4 +129,4 @@ Examples of **correct** code for this rule, when configured with `{ "prevent": t
129129

130130
## When Not To Use It
131131

132-
You can turn this rule off if you are not concerned with spacing between your JSX elements and expressions.
132+
You can turn this rule off if you are not concerned with spacing between your JSX elements and expressions.

0 commit comments

Comments
 (0)