File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed
packages/plugins/eslint-plugin-react-x/src/rules Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -57,5 +57,9 @@ function MyComponent() {
5757
5858## See Also
5959
60+ - [ ` avoid-shorthand-fragment ` ] ( ./avoid-shorthand-fragment ) \
61+ Enforces the use of explicit ` <Fragment> ` or ` <React.Fragment> ` components instead of the shorthand ` <> ` or ` </> ` syntax.
6062- [ ` prefer-shorthand-boolean ` ] ( ./prefer-shorthand-boolean ) \
6163 Enforces the use of shorthand syntax for boolean attributes.
64+ - [ ` prefer-shorthand-fragment ` ] ( ./prefer-shorthand-fragment ) \
65+ Enforces the use of shorthand syntax for fragments.
Original file line number Diff line number Diff line change @@ -63,5 +63,9 @@ function MyComponent() {
6363
6464## See Also
6565
66+ - [ ` avoid-shorthand-boolean ` ] ( ./avoid-shorthand-boolean ) \
67+ Enforces the use of explicit boolean values for boolean attributes.
68+ - [ ` prefer-shorthand-boolean ` ] ( ./prefer-shorthand-boolean ) \
69+ Enforces the use of shorthand syntax for boolean attributes.
6670- [ ` prefer-shorthand-fragment ` ] ( ./prefer-shorthand-fragment ) \
6771 Enforces the use of shorthand syntax for fragments.
Original file line number Diff line number Diff line change @@ -59,3 +59,7 @@ function MyComponent() {
5959
6060- [ ` avoid-shorthand-boolean ` ] ( ./avoid-shorthand-boolean ) \
6161 Enforces the use of explicit boolean values for boolean attributes.
62+ - [ ` avoid-shorthand-fragment ` ] ( ./avoid-shorthand-fragment ) \
63+ Enforces the use of explicit ` <Fragment> ` or ` <React.Fragment> ` components instead of the shorthand ` <> ` or ` </> ` syntax.
64+ - [ ` prefer-shorthand-fragment ` ] ( ./prefer-shorthand-fragment ) \
65+ Enforces the use of shorthand syntax for fragments.
Original file line number Diff line number Diff line change @@ -65,5 +65,9 @@ function MyComponent() {
6565
6666## See Also
6767
68+ - [ ` avoid-shorthand-boolean ` ] ( ./avoid-shorthand-boolean ) \
69+ Enforces the use of explicit boolean values for boolean attributes.
6870- [ ` avoid-shorthand-fragment ` ] ( ./avoid-shorthand-fragment ) \
6971 Enforces the use of explicit ` <Fragment> ` or ` <React.Fragment> ` components instead of the shorthand ` <> ` or ` </> ` syntax.
72+ - [ ` prefer-shorthand-boolean ` ] ( ./prefer-shorthand-boolean ) \
73+ Enforces the use of shorthand syntax for boolean attributes.
You can’t perform that action at this time.
0 commit comments