ESLint rule to disallow useEffect without dependency list

Is there an ESLint rule for React to disallow writing useEffect without dependency list?

I’m looking for something like this:

useEffect(() => {
  if (error) handleError(error)
}) // ❌ I expect ESLint complains here, because there's no dependency list
useEffect(() => {
  if (error) handleError(error)
}, [error]) // ✅ Now it has an explicit dependency list