File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
In JSX when using a literal string you can wrap it in a JSX container ` {'TEXT'} ` .
4
4
This rules requies that you wrap all literal strings.
5
- Prevents any odd artifacts of highlighters if you unwrapped string contains a enclsoing character like ` ' ` in contractions and enforces consistency.
5
+ Prevents any odd artifacts of highlighters if your unwrapped string contains an enclosing character like ` ' ` in contractions and enforces consistency.
6
6
7
7
## Rule Details
8
8
@@ -12,7 +12,7 @@ The following patterns are considered warnings:
12
12
var Hello = < div> test< / div> ;
13
13
```
14
14
15
- The following patterns are not considered:
15
+ The following patterns are not considered warnings :
16
16
17
17
``` javascript
18
18
var Hello = < div> {' test' }< / div> ;
You can’t perform that action at this time.
0 commit comments