JSLint is a "code quality" tool for JavaScript developed by Douglas Crockford, a well-known developer also responsible for JSON, JSMin, ADSafe and parts of YUI.
In JSLint, it warns that var x = new Array(); (That's not a real variable name) should be var result = []; What …
javascript jslintHaving trouble understanding why JSLint is surprised by my use of this in the following code: For both property assignments, …
javascript constructor jslintJSLint reports Insecure '^' for the following line. Why is that? Or is it just going to complain any …
javascript regex jslint regex-negationWhy does JSLint complain if something uses a function that hasn't been defined already? The point is that the function …
javascript jslintJSLint (with the onevar flag turned on) is flagging some javascript code that I have with the following: Problem at …
javascript refactoring jslintConsider the following code: for (var i=0; i<100; i++) { // your code here } // some other code here for (var i=0; …
javascript jslintI'd like to use JSLint, but I am wary of tools that have access to my unfiltered source code. Is …
javascript compiler-errors jslint lintThis won't pass JSLint in strict mode: "use strict"; (function (w) { w.alert(w); }(window)); The error--from jslint.com--looks like …
javascript global jslint strictJSLint works fine for just one JavaScript file. Recently, I've started breaking my program into several pieces. I don't want …
javascript jslintJSLint complains that the following (useless example) code is invalid: (function (x) { "use strict"; if (x === 1) { return 1; } else if (x === 2) { …
javascript jslint