How to catch react errors like use className instead of class or key missing for a loop while linting without ejecting cra.
It's better to catch these errors in the lint itself as you usually don't see them unless the component itself is loaded and control these checking via pre-commit hooks like husky.