I am assigning a property to the global window object, but when I run eslint, I get this:
\"window\" is not defined
I see t
Add .eslintrc in the project root.
.eslintrc
{ "globals": { "document": true, "foo": true, "window": true } }