I found an ESLint plugin that automatically adds useMemo and useCallback, so I decided to give it a try. Unfortunately it was too aggressive (lots of false positives) and the autofix had some issues (empty dep lists, bad imports).
That said I went through the results and addressed some places that were either impactful or easy to fix.