How to resolve the no-undef error for setTimeout
The issue is your environment in .eslintrc
is not configured.
Each environment brings with it a certain set of predefined global variables.
You can configure it for browser [your React/Redux/JavaScript Code] & node [Webpack and build related code].
"env": { "browser": true, "node": true},