1.0.2 • Published 4 months ago
eslint-plugin-jsx-no-inline-comment-textnodes v1.0.2
Disallow inline comments from being inserted as text nodes
function Hello() {
return <div>// empty div</div>;
}
Includes a fix to change the above to
function Hello() {
return <div>{/* empty div */}</div>;
}
Only supports inline comments not multiline.