react/jsx-no-comment-textnodes
eslint-plugin-react
No autofixRecommended
eslint.config.js
import react from "eslint-plugin-react";
export default [
{
plugins: { react },
rules: {
"react/jsx-no-comment-textnodes": "error",
},
},
];