@eslint-react/core / stringifyJsx
function stringifyJsx(node:
| JSXClosingElement
| JSXClosingFragment
| JSXIdentifier
| JSXMemberExpression
| JSXNamespacedName
| JSXOpeningElement
| JSXOpeningFragment
| JSXText): string;Incomplete but sufficient stringification of JSX nodes for common use cases
| Parameter | Type | Description |
|---|---|---|
node |
| JSXClosingElement | JSXClosingFragment | JSXIdentifier | JSXMemberExpression | JSXNamespacedName | JSXOpeningElement | JSXOpeningFragment | JSXText |
JSX node from TypeScript ESTree |
string
String representation of the JSX node