Skip to content

Commit 3d2e7ce

Browse files
authored
docs: fix typo in no-unused-expressions documentation (#21346)
1 parent 69aac01 commit 3d2e7ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/src/rules/no-unused-expressions.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ tag`some tagged template string`;
248248

249249
### enforceForJSX
250250

251-
JSX is most-commonly used in the React ecosystem, where it is compiled to `React.createElement` expressions. Though free from side-effects, these calls are not automatically flagged by the `no-unused-expression` rule. If you're using React, or any other side-effect-free JSX pragma, this option can be enabled to flag these expressions.
251+
JSX is most-commonly used in the React ecosystem, where it is compiled to `React.createElement` expressions. Though free from side-effects, these calls are not automatically flagged by the `no-unused-expressions` rule. If you're using React, or any other side-effect-free JSX pragma, this option can be enabled to flag these expressions.
252252

253253
Examples of **incorrect** code for the `{ "enforceForJSX": true }` option:
254254

0 commit comments

Comments
 (0)