Skip to content

Commit

Permalink
[Docs] [jsx-child-element-spacing]: fixes sentence which ends abruptly
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalpp authored and ljharb committed May 18, 2021
1 parent 9a140a5 commit 6c1e5b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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
* [Refactor] [`void-dom-elements-no-children`]: improve performance
* [readme] fix missing trailing commas ([#2980][] @sugardon)
* [readme] fix broken anchor link ([#2982][] @vzvu3k6k)
* [Docs] [`jsx-child-element-spacing`]: fixes sentence which ends abruptly ([#2990][] @pascalpp)

[#2990]: https://github.com/yannickcr/eslint-plugin-react/pull/2990
[#2989]: https://github.com/yannickcr/eslint-plugin-react/pull/2989
[#2986]: https://github.com/yannickcr/eslint-plugin-react/pull/2986
[#2985]: https://github.com/yannickcr/eslint-plugin-react/pull/2985
Expand Down
4 changes: 1 addition & 3 deletions docs/rules/jsx-child-element-spacing.md
Expand Up @@ -2,9 +2,7 @@

## Rule Details

Since React removes extraneous new lines between elements when possible,
it is possible to end up with inline elements that are not rendered with spaces between them and adjacent text.
This is often indicative of an error, so this rule attempts to detect
Since React removes extraneous new lines between elements when possible, it is possible to end up with inline elements that are not rendered with spaces between them and adjacent text. This is often indicative of an error, so this rule attempts to detect JSX markup with ambiguous spacing.

Examples of **incorrect** code for this rule:

Expand Down

0 comments on commit 6c1e5b3

Please sign in to comment.