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 22
33In JSX when using a literal string you can wrap it in a JSX container ` {'TEXT'} ` .
44This 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.
66
77## Rule Details
88
@@ -12,7 +12,7 @@ The following patterns are considered warnings:
1212var Hello = < div> test< / div> ;
1313```
1414
15- The following patterns are not considered:
15+ The following patterns are not considered warnings :
1616
1717``` javascript
1818var Hello = < div> {' test' }< / div> ;
You can’t perform that action at this time.
0 commit comments