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-dangerously-set-innerhtml`](dom-no-dangerously-set-innerhtml)| 1️⃣ 1️⃣ || Disallows DOM elements from using `dangerouslySetInnerHTML`||
268
-
|[`no-dangerously-set-innerhtml-with-children`](dom-no-dangerously-set-innerhtml-with-children)| 2️⃣ 2️⃣ || Disallows DOM elements from using `dangerouslySetInnerHTML` and `children` at the same time ||
|[`no-unsafe-iframe-sandbox`](dom-no-unsafe-iframe-sandbox)| 1️⃣ 1️⃣ || Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations||
281
-
|[`no-unsafe-target-blank`](dom-no-unsafe-target-blank)| 0️⃣ 1️⃣ |`🔧`| Disallows `target="_blank"` without `rel="noreferrer noopener"`||
282
-
|[`no-use-form-state`](dom-no-use-form-state)| 2️⃣ 2️⃣ |`🔄`| Replaces usage of `useFormState` with `useActionState`| >=19.0.0 |
283
-
|[`no-void-elements-with-children`](dom-no-void-elements-with-children)| 2️⃣ 2️⃣ || Disallows `children` in void DOM elements ||
284
-
|[`prefer-namespace-import`](dom-prefer-namespace-import)| 0️⃣ 0️⃣ |`🔧`| Enforces importing React DOM via a namespace import ||
|[`no-dangerously-set-innerhtml`](dom-no-dangerously-set-innerhtml)| 1️⃣ 1️⃣ || Disallows DOM elements from using `dangerouslySetInnerHTML`||
268
+
|[`no-dangerously-set-innerhtml-with-children`](dom-no-dangerously-set-innerhtml-with-children)| 2️⃣ 2️⃣ || Disallows DOM elements from using `dangerouslySetInnerHTML` and `children` at the same time ||
|[`no-unsafe-iframe-sandbox`](dom-no-unsafe-iframe-sandbox)| 1️⃣ 1️⃣ || Enforces that the `sandbox` attribute for `iframe` elements is not set to unsafe combinations ||
281
+
|[`no-unsafe-target-blank`](dom-no-unsafe-target-blank)| 0️⃣ 1️⃣ |`🔧`| Disallows `target="_blank"` without `rel="noreferrer noopener"`||
282
+
|[`no-use-form-state`](dom-no-use-form-state)| 2️⃣ 2️⃣ |`🔄`| Replaces usage of `useFormState` with `useActionState`| >=19.0.0 |
283
+
|[`no-void-elements-with-children`](dom-no-void-elements-with-children)| 2️⃣ 2️⃣ || Disallows `children` in void DOM elements ||
284
+
|[`prefer-namespace-import`](dom-prefer-namespace-import)| 0️⃣ 0️⃣ |`🔧`| Enforces importing React DOM via a namespace import ||
Copy file name to clipboardExpand all lines: packages/core/docs/README.md
+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
@@ -124,7 +124,6 @@
124
124
|[getJsxConfigFromAnnotation](functions/getJsxConfigFromAnnotation.md)| Get JsxConfig from pragma comments (annotations) in the source code |
125
125
|[getJsxConfigFromContext](functions/getJsxConfigFromContext.md)| Get JsxConfig from the rule context by reading compiler options |
126
126
|[getJsxElementType](functions/getJsxElementType.md)| Extracts the element type name from a JSX element or fragment For JSX elements, returns the stringified name (e.g., "div", "Button", "React.Fragment") For JSX fragments, returns an empty string |
127
-
|[hasNoneOrLooseComponentName](functions/hasNoneOrLooseComponentName.md)| Check if the function has no name or a loose component name |
128
127
|[isClassComponent](functions/isClassComponent.md)| Check if a node is a React class component |
129
128
|[isComponentDefinition](functions/isComponentDefinition.md)| Determine if a function node represents a valid React component definition |
130
129
|[isComponentDidMountCallback](functions/isComponentDidMountCallback.md)| Check if the given node is a componentDidMount callback |
@@ -136,6 +135,7 @@
136
135
|[isComponentWrapperCallbackLoose](functions/isComponentWrapperCallbackLoose.md)| Check if the node is a callback function passed to a component wrapper loosely |
137
136
|[isComponentWrapperCallLoose](functions/isComponentWrapperCallLoose.md)| Check if the node is a call expression for a component wrapper loosely |
|[isFunctionWithLooseComponentName](functions/isFunctionWithLooseComponentName.md)| Check if a function has a loose component name |
139
139
|[isHook](functions/isHook.md)| Determine if a function node is a React Hook based on its name. |
140
140
|[isHookCall](functions/isHookCall.md)| Check if the given node is a React Hook call by its name. |
141
141
|[isHookCallWithName](functions/isHookCallWithName.md)| Check if a node is a call to a specific React hook. Returns a function that accepts a hook name to check against. |
0 commit comments