Skip to content

Commit 058d3a7

Browse files
authored
docs(migration): change status for react/forward-ref-uses-ref > no-useless-forward-ref from 🟡 to ✅
Our rule flags forwardRef calls missing the second ref parameter (React.forwardRef and named import); no TS required; semantics match the original rule. Don't get why it was marked as partial Signed-off-by: Eugene <[email protected]>
1 parent 55e4890 commit 058d3a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/website/content/docs/migration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The following table compares all rules from `eslint-plugin-react` with their ESL
5151
| [`forbid-elements`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/forbid-elements.md) | [`no-prop-types`](/docs/rules/no-prop-types) |||
5252
| [`forbid-foreign-prop-types`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/forbid-foreign-prop-types.md) | || 🚫 |
5353
| [`forbid-prop-types`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/forbid-prop-types.md) | [`no-prop-types`](/docs/rules/no-prop-types) || 🚫 |
54-
| [`forward-ref-uses-ref`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/forward-ref-uses-ref.md) | [`no-useless-forward-ref`](/docs/rules/no-useless-forward-ref) || 🟡 |
54+
| [`forward-ref-uses-ref`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/forward-ref-uses-ref.md) | [`no-useless-forward-ref`](/docs/rules/no-useless-forward-ref) || |
5555
| [`function-component-definition`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/function-component-definition.md) | | 🔧 ||
5656
| [`hook-use-state`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/hook-use-state.md) | [`naming-convention/use-state`](/docs/rules/naming-convention-use-state) |||
5757
| [`iframe-missing-sandbox`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/iframe-missing-sandbox.md) | [`dom/no-missing-iframe-sandbox`](/docs/rules/dom-no-missing-iframe-sandbox) || 🔧 |

0 commit comments

Comments
 (0)