Skip to content

Commit 9497745

Browse files
joshungerljharb
authored andcommitted
[Docs] jsx-fragments: add "fixable" note
1 parent 77170fb commit 9497745

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/rules/jsx-fragments.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ In JSX, a React fragment is created either with `<React.Fragment>...</React.Frag
44

55
Support for fragments was added in React v16.2, so the rule will warn on either of these forms if an older React version is specified in [shared settings][shared_settings].
66

7+
**Fixable:** This rule is automatically fixable using the `--fix` flag on the command line.
8+
79
## Rule Options
810

911
```js

0 commit comments

Comments
 (0)