I\'m building a React app, with create-react-app.
I got the following error when running ESLint: 8:3 error \'document\' is not defined no-undef.
8:3 error \'document\' is not defined no-undef.
Add "browser": true your env to include global variables (like document, window, etc.)
"browser": true
env
See the ESLint environment documentation for more information.