[compiler] Add VoidUseMemo rule to RecommendedLatest (#34783)
Adds a new error category VoidUseMemo which is only enabled in the RecommendedLatest preset for now. DiffTrain build for [4b3e662e4ce54eb54a8701c48a967cc84a389501](https://github.com/facebook/react/commit/4b3e662e4ce54eb54a8701c48a967cc84a389501)
P
poteto committed
b57bf4a229846a79d28adc6fe2368a6aa564dce1
Parent: 6928ae6