JSHint and jQuery: ‘$’ is not defined
The following JS: (function() { “use strict”; $(“#target”).click(function(){ console.log(“clicked”); }); }()); Yields: test.js: line 5, col 3, ‘$’ is not defined. When linted … Read more
The following JS: (function() { “use strict”; $(“#target”).click(function(){ console.log(“clicked”); }); }()); Yields: test.js: line 5, col 3, ‘$’ is not defined. When linted … Read more
Is it possible to turn off the eslint rule for the whole file? Something such as: // eslint-disable-file no-use-before-define (Analogous to eslint-disable-line.) It … Read more
PHPLint, JSLint, and I recently came across “you can lint your JS code on the fly” while reading something about some IDE. So, … Read more