So I’m using JSLint to try and detect errors. I turn some options off I don’t like, but I don’t see any way to enable being able to use the window global variable. Well, there is the Yahoo Widget option, but that’s overkill.
What’s the deal with using ‘window’, why would JSLint say that is causing errors?
Was the correct solution to this. As of 2017-07-07, you have to set the global directive manually. From the JSLint documentation:
So you will need to use: