Skip to content

Commit 6c1e5b3

Browse files
pascalppljharb
authored andcommitted
[Docs] [jsx-child-element-spacing]: fixes sentence which ends abruptly
1 parent 9a140a5 commit 6c1e5b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
2020
* [Refactor] [`void-dom-elements-no-children`]: improve performance
2121
* [readme] fix missing trailing commas ([#2980][] @sugardon)
2222
* [readme] fix broken anchor link ([#2982][] @vzvu3k6k)
23+
* [Docs] [`jsx-child-element-spacing`]: fixes sentence which ends abruptly ([#2990][] @pascalpp)
2324

25+
[#2990]: https://github.com/yannickcr/eslint-plugin-react/pull/2990
2426
[#2989]: https://github.com/yannickcr/eslint-plugin-react/pull/2989
2527
[#2986]: https://github.com/yannickcr/eslint-plugin-react/pull/2986
2628
[#2985]: https://github.com/yannickcr/eslint-plugin-react/pull/2985

docs/rules/jsx-child-element-spacing.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
## Rule Details
44

5-
Since React removes extraneous new lines between elements when possible,
6-
it is possible to end up with inline elements that are not rendered with spaces between them and adjacent text.
7-
This is often indicative of an error, so this rule attempts to detect
5+
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.
86

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

0 commit comments

Comments
 (0)