We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ab2eec commit 0461e3cCopy full SHA for 0461e3c
docs/rules/self-closing-comp.md
@@ -15,9 +15,13 @@ The following patterns are not considered warnings:
15
```js
16
var contentContainer = <div className="content"></div>;
17
18
+var intentionalSpace = <div>{' '}</div>;
19
+
20
var HelloJohn = <Hello name="John" />;
21
22
var Profile = <Hello name="John"><img src="picture.png" /></Hello>;
23
24
+var HelloSpace = <Hello>{' '}</Hello>;
25
```
26
27
## Rule Options
0 commit comments