Skip to content

Commit 582b3e6

Browse files
authored
docs(migration): add no-duplicate-key, no-implicit-key, jsx-key-before-spread, no-unnecessary-key alongside no-missing-key
Brings parity with `eslint-plugin-react` options (duplicates, key-after-spread, etc.) and makes the migration stricter-by-default Signed-off-by: Eugene <[email protected]>
1 parent 41ffafe commit 582b3e6

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
@@ -69,7 +69,7 @@ The following table compares all rules from `eslint-plugin-react` with their ESL
6969
| [`jsx-handler-names`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-handler-names.md) | |||
7070
| [`jsx-indent`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-indent.md) | [`@stylistic/jsx-indent`](https://eslint.style/rules/jsx-indent) | 🔧 | ➡️ |
7171
| [`jsx-indent-props`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-indent-props.md) | [`@stylistic/jsx-indent-props`](https://eslint.style/rules/jsx-indent-props) | 🔧 | ➡️ |
72-
| [`jsx-key`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-key.md) | [`no-missing-key`](/docs/rules/no-missing-key) |||
72+
| [`jsx-key`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-key.md) | [`no-missing-key`](/docs/rules/no-missing-key) + [`no-duplicate-key`](/docs/rules/no-duplicate-key) + [`no-implicit-key`](/docs/rules/no-implicit-key) [`jsx-key-before-spread`](/docs/rules/jsx-key-before-spread) + [`no-unnecessary-key`](/docs/rules/no-unnecessary-key) |||
7373
| [`jsx-max-depth`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-max-depth.md) | |||
7474
| [`jsx-max-props-per-line`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-max-props-per-line.md) | [`@stylistic/jsx-max-props-per-line`](https://eslint.style/rules/jsx-max-props-per-line) | 🔧 | ➡️ |
7575
| [`jsx-newline`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-newline.md) | [`@stylistic/jsx-newline`](https://eslint.style/rules/jsx-newline) | 🔧 | ➡️ |

0 commit comments

Comments
 (0)