lint rule to ban anonymous functions inside HOCs
In our codebase at work we have a lot of components that are wrapped by HoCs. Basically fine, just one huge problem: some of the react-hooks lint rules aren't checked for when you do this, see: https://github.com/facebook/react/issues/20499
Does anyone know if it's possible to set up a lint rule that catches this? ie:
0 Replies