The author actually addresses this point, explaining that since you name your effects, you should realise when they are used to sync states and take action.
As a side-note, eslint-plugin-react-you-might-not-need-an-effect might be better suited to catch these.