Answer the question
In order to leave comments, you need to log in
How to use JSHint in strict mode?
I use Atom editor and plugins: linter and linter-jshint .
When I enable strict mode, I get a lot of warnings about missing variables. The problem is that many of these variables are defined either in another file or in the browser itself.
Answer the question
In order to leave comments, you need to log in
The problem is that many of these variables are defined either in another file or in the browser itself.
/* globals <varname> */
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question