Force to use named functions inside a useEffect instead of lambda functions.
Examples of incorrect code for this rule:
useEffect(() => {}, []);
useEffect(() => {
const t = 1;
disallowTwoThings(t);
}, []);
Examples of correct code for this rule:
useEffect(function namedFunction() {}, []);
useEffect(theNameOfAFunction(), []);
useEffect(() => theNameOfAFunction(), []);
useEffect(() => {
theOnlyChildIsAFunctionCall();
}, []);