The following JS:
(function() { \"use strict\"; $(\"#target\").click(function(){ console.log(\"clicked\"); }); }());
Yields:
All you need to do is set "jquery": true in your .jshintrc.
"jquery": true
.jshintrc
Per the JSHint options reference:
jquery This option defines globals exposed by the jQuery JavaScript library.
This option defines globals exposed by the jQuery JavaScript library.