Skip to content

Commit d64a739

Browse files
committed
docs(migration): mark react/display-name mapping as partial
Our rule targets anonymous components wrapped in `React.memo`/`forwardRef` and does not flag anonymous default-exported functions (mentioned in docs as `Not supported yet`); context objects are covered by a separate rule; no `ignoreTranspilerName` equivalent - overall not a 1:1 replacement
1 parent 4038387 commit d64a739

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
@@ -45,7 +45,7 @@ The following table compares all rules from `eslint-plugin-react` with their ESL
4545
| [`checked-requires-onchange-or-readonly`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/checked-requires-onchange-or-readonly.md) | |||
4646
| [`default-props-match-prop-types`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/default-props-match-prop-types.md) | [`no-prop-types`](/docs/rules/no-prop-types) || 🚫 |
4747
| [`destructuring-assignment`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/destructuring-assignment.md) | [`prefer-destructuring-assignment`](/docs/rules/prefer-destructuring-assignment) | 🔧 ||
48-
| [`display-name`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/display-name.md) | [`no-missing-component-display-name`](/docs/rules/no-missing-component-display-name) || |
48+
| [`display-name`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/display-name.md) | [`no-missing-component-display-name`](/docs/rules/no-missing-component-display-name) || 🟡 |
4949
| [`forbid-component-props`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/forbid-component-props.md) | |||
5050
| [`forbid-dom-props`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/forbid-dom-props.md) | |||
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) |||

0 commit comments

Comments
 (0)