react-perf/jsx-no-new-object-as-prop
eslint-plugin-react-perf
No autofix
eslint.config.js
import reactPerf from "eslint-plugin-react-perf";
export default [
{
plugins: { "react-perf": reactPerf },
rules: {
"react-perf/jsx-no-new-object-as-prop": "error",
},
},
];