Skip to content

Commit 36dfffe

Browse files
committed
Update jsx-quotes documentation
1 parent 7c004d3 commit 36dfffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/jsx-quotes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var HelloJohn = <Hello name="John" />;
99
var HelloJohn = <Hello name='John' />;
1010
```
1111

12-
The third parameter enables an exception to the rule to avoid escaping quotes. For example, when `"single"` is the standard, this option allows the use of double quotes to avoid escaping single quotes. This option can have the value `"avoid-escape"` and is off by default.
12+
The third parameter enables an exception to the rule to allow you to use alternative quotes to get around to impossibility to use escaping in JSX attributes. This option can have the value `"avoid-escape"` and is off by default.
1313

1414
```js
1515
[2, "single", "avoid-escape"]

0 commit comments

Comments
 (0)