Skip to content

Commit

Permalink
[Docs] jsx-newline: Fix minor spelling error on rule name
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisSkoko authored and ljharb committed Apr 21, 2021
1 parent cad79bb commit 6d7e5a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
### Fixed
* [`jsx-handler-names`]: properly substitute value into message ([#2975][] @G-Rath)

### Changed
* [Docs] [`jsx-newline`]: Fix minor spelling error on rule name ([#2974][] @DennisSkoko)

[#2975]: https://github.com/yannickcr/eslint-plugin-react/pull/2975
[#2974]: https://github.com/yannickcr/eslint-plugin-react/pull/2974
[#2713]: https://github.com/yannickcr/eslint-plugin-react/pull/2713

## [7.23.2] - 2021.04.08
Expand Down
4 changes: 2 additions & 2 deletions docs/rules/jsx-newline.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This is a stylistic rule intended to make JSX code more readable by requiring or
## Rule Options
```json
...
"react/jsx-new-line": [<enabled>, { "prevent": <boolean> }]
"react/jsx-newline": [<enabled>, { "prevent": <boolean> }]
...
```

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

## When Not To Use It

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

0 comments on commit 6d7e5a1

Please sign in to comment.