Skip to content

Commit 693d0d7

Browse files
committed
docs: update experimental status for rules docs
1 parent ca8bc9e commit 693d0d7

File tree

14 files changed

+35
-32
lines changed

14 files changed

+35
-32
lines changed

apps/website/content/docs/rules/overview.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ Linter rules can have false positives, false negatives, and some rules are depen
7272
| [`no-useless-forward-ref`](./no-useless-forward-ref) | 1️⃣ | | Disallow useless `forwardRef` calls on components that don't use `ref`s | |
7373
| [`no-useless-fragment`](./no-useless-fragment) | 0️⃣ | `🔧` `⚙️` | Disallow useless fragment elements | |
7474
| [`prefer-destructuring-assignment`](./prefer-destructuring-assignment) | 0️⃣ | | Enforces destructuring assignment for component props and context | |
75-
| [`prefer-react-namespace-import`](./prefer-react-namespace-import) | 0️⃣ | `🧪` `🔧` | Enforces React is imported via a namespace import | |
76-
| [`prefer-read-only-props`](./prefer-read-only-props) | 0️⃣ | `🧪` `💭` | Enforces read-only props in components | |
75+
| [`prefer-react-namespace-import`](./prefer-react-namespace-import) | 0️⃣ | `🔧` `🧪` | Enforces React is imported via a namespace import | |
76+
| [`prefer-read-only-props`](./prefer-read-only-props) | 0️⃣ | `💭` `🧪` | Enforces read-only props in components | |
7777
| [`prefer-shorthand-boolean`](./prefer-shorthand-boolean) | 0️⃣ | `🔧` | Enforces shorthand syntax for boolean attributes | |
7878
| [`prefer-shorthand-fragment`](./prefer-shorthand-fragment) | 0️⃣ | `🔧` | Enforces shorthand syntax for fragments | |
7979
| [`use-jsx-vars`](./use-jsx-vars) | 1️⃣ | | Marks variables used in JSX as used | |

packages/plugins/eslint-plugin-react-hooks-extra/src/rules/no-direct-set-state-in-use-effect.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ react-hooks-extra/no-direct-set-state-in-use-effect
1414
@eslint-react/hooks-extra/no-direct-set-state-in-use-effect
1515
```
1616

17+
**Features**
18+
19+
`🧪`
20+
1721
**Presets**
1822

1923
- `recommended`

packages/plugins/eslint-plugin-react-hooks-extra/src/rules/no-direct-set-state-in-use-layout-effect.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ react-hooks-extra/no-direct-set-state-in-use-layout-effect
1414
@eslint-react/hooks-extra/no-direct-set-state-in-use-layout-effect
1515
```
1616

17+
**Features**
18+
19+
`🧪`
20+
1721
## Description
1822

1923
Disallow **direct** calls to the [`set` function](https://react.dev/reference/react/useState#setstate) of `useState` in `useLayoutEffect`.

packages/plugins/eslint-plugin-react-hooks-extra/src/rules/no-unnecessary-use-callback.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ react-hooks-extra/no-unnecessary-use-callback
1414
@eslint-react/hooks-extra/no-unnecessary-use-callback
1515
```
1616

17+
**Features**
18+
19+
`🧪`
20+
1721
## Description
1822

1923
Disallows unnecessary usage of `useCallback`.

packages/plugins/eslint-plugin-react-hooks-extra/src/rules/no-unnecessary-use-memo.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ react-hooks-extra/no-unnecessary-use-memo
1414
@eslint-react/hooks-extra/no-unnecessary-use-memo
1515
```
1616

17+
**Features**
18+
19+
`🧪`
20+
1721
## Description
1822

1923
Disallow unnecessary usage of `useMemo`.

packages/plugins/eslint-plugin-react-hooks-extra/src/rules/prefer-use-state-lazy-initialization.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ react-hooks-extra/prefer-use-state-lazy-initialization
1414
@eslint-react/hooks-extra/prefer-use-state-lazy-initialization
1515
```
1616

17+
**Features**
18+
19+
`🧪`
20+
1721
## Description
1822

1923
Enforces function calls made inside `useState` to be wrapped in an `initializer function`.

packages/plugins/eslint-plugin-react-x/src/rules/no-complex-conditional-rendering.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ react-x/no-complex-conditional-rendering
1414
@eslint-react/no-complex-conditional-rendering
1515
```
1616

17+
**Features**
18+
19+
`🧪`
20+
1721
## Description
1822

1923
Disallow complex conditional rendering in JSX expressions.

packages/plugins/eslint-plugin-react-x/src/rules/no-implicit-key.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ react-x/no-implicit-key
1414
@eslint-react/no-implicit-key
1515
```
1616

17+
**Features**
18+
19+
`🧪`
20+
1721
**Presets**
1822

1923
- `core`

packages/plugins/eslint-plugin-react-x/src/rules/prefer-react-namespace-import.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ react-x/prefer-react-namespace-import
1616

1717
**Features**
1818

19-
`🔧`
19+
`🔧` `🧪`
2020

2121
## Description
2222

packages/plugins/eslint-plugin-react-x/src/rules/prefer-read-only-props.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ react-x/prefer-read-only-props
1616

1717
**Features**
1818

19-
`💭`
19+
`💭` `🧪`
2020

2121
## Description
2222

0 commit comments

Comments
 (0)