According to the documentation, the browser parameter for JSLint automatically disables the use of "use strict"; at the global level. As far as I know, there is no way to get it back.
You can disable the browser option and get the same predefined globals as the browser parameter using:
/*global Audio, clearInterval, clearTimeout, document, event, history, Image, location, name, navigator, Option, screen, setInterval, setTimeout, XMLHttpRequest */
Alternatively, you can wrap all your code in IIFE and use "use strict"; up.
Alternatively, you can switch to JSHint (has more options) and use the strict: global parameter to enable "use strict"; on the global sphere.
Tj crowder
source share