Skip to content Skip to sidebar Skip to footer

Jslint Configuration | Passing Globals

How do I alert jshint that I have globals, i.e. name them. I know you can do this, but I don't recall the syntax. I defined a global here like this (function(){window.glob1 = loca

Solution 1:

Do you mean the syntax

 /* global window, console, jQuery */

... at the beginning of the each JS file?


Post a Comment for "Jslint Configuration | Passing Globals"