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
|[`no-component-will-mount`](./no-component-will-mount)| 2️⃣ |`🔄`| Replaces usages of `componentWillMount` with `UNSAFE_componentWillMount`| >=16.3.0 |
55
54
|[`no-component-will-receive-props`](./no-component-will-receive-props)| 2️⃣ |`🔄`| Replaces usages of `componentWillReceiveProps` with `UNSAFE_componentWillReceiveProps`| >=16.3.0 |
56
55
|[`no-component-will-update`](./no-component-will-update)| 2️⃣ |`🔄`| Replaces usages of `componentWillUpdate` with `UNSAFE_componentWillUpdate`| >=16.3.0 |
@@ -88,7 +87,7 @@ The `jsx-*` rules check for issues exclusive to JSX syntax, which are absent fro
88
87
|[`no-useless-forward-ref`](./no-useless-forward-ref)| 1️⃣ || Disallow useless `forwardRef` calls on components that don't use `ref`s ||
89
88
|[`no-useless-fragment`](./no-useless-fragment)| 0️⃣ |`🔧``⚙️`| Disallow useless fragment elements ||
90
89
|[`prefer-destructuring-assignment`](./prefer-destructuring-assignment)| 0️⃣ || Enforces destructuring assignment for component props and context ||
91
-
|[`prefer-react-namespace-import`](./prefer-react-namespace-import)| 0️⃣ |`🔧`| Enforces React is imported via a namespace import ||
90
+
|[`prefer-namespace-import`](./prefer-namespace-import)| 0️⃣ |`🔧`| Enforces React is imported via a namespace import ||
92
91
|[`prefer-read-only-props`](./prefer-read-only-props)| 0️⃣ |`💭`| Enforces read-only props in components ||
93
92
|[`prefer-use-state-lazy-initialization`](./prefer-use-state-lazy-initialization)| 1️⃣ || Enforces function calls made inside `useState` to be wrapped in an `initializer function`||
0 commit comments