I know this is an old question, but I find myself in the same situation and I fix it by adding
pluginReact.configs.flat.recommended
As the first line in the new eslint.config.msj or .js file.
I hope this is useful for someone else.