You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/website/content/docs/release-notes/v2.0.0.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ We have refactored our rules to make them more consistent and intuitive.
42
42
This release adds several new rules to help you write cleaner and more robust React code.
43
43
44
44
-**`react-x/no-unused-props`**: A TSC-backed rule to flag component props that are defined but never used (credit to [@ulrichstark](https://github.com/ulrichstark) for the implementation).
45
-
-**`react-x/no-unnecessary-key`**: Prevents `key` from being placed on non-top-level elements in a list rendering (credit to [@kachkaev](https://github.com/kachkaev) for the idea).
45
+
-**`react-x/no-unnecessary-key`**: Prevents `key` from being placed on non-top-level elements in list rendering (credit to [@kachkaev](https://github.com/kachkaev) for the idea).
46
46
-**`react-dom/no-string-style-prop`**: Disallows string values for the `style` prop, which is useful in non-TypeScript environments like MDX (proposed by [@karlhorky](https://github.com/karlhorky)).
47
47
-**`react-dom/prefer-namespace-import`**: Enforces using a namespace import for `react-dom` (the React DOM equivalent of `react-x/prefer-namespace-import`).
0 commit comments