I was having exactly the same problem after using a Vite for a while and then returning to CRA and installing my usual Airbnb linting tools. I found THIS solution on Github which basically says to add these lines to your package.json starting scripts
"start": "ESLINT_NO_DEV_ERRORS='true' react-scripts start", "build": "DISABLE_ESLINT_PLUGIN='true' react-scripts build",
This did the trick for me. It kept the linting errors showing in the code but unless they were breaking the code it compiled and ran no problem.
I don't think this is a long term solution, but it will do for a workaround...