Erik Meijer talking about the hazards and other interesting things. http://channel9.msdn.com/posts/Erik-Meijer-Functional-Programming-From-First-Principles...
Hi, I have a module which toggles two group of event handlers : // structure (function () { "use strict"; function a() {} function b() {} function c() {b(c);...
The "node" option specifies that __dirname and __filename are valid options, yet if you don't use the "nomen" option it will still error. Shouldn't the "nomen"...
Some compressors do not touch the initial comments of a file in order to leave copyright, license etc. in place. I find that useful. However, some of my files...
In the case I repeat the same identifier on a catch block I receive an "'identifier' is already defined" error message. try { } catch (exception) { } ... try {...
While I don't mind the new rule, I have run into a case where the suggested replacement style code doesn't work. For example suppose we have a page that uses...
How do I add the exception to this "check" both globally or in a single line of code, for example: if (typeof var === 'undefined39;) { //many lines of code here ...
Even if you allow multiple var declaration, JSLint stops when if finds a variable defined within a for (). The problem is not so much that it reports an issue...
I had difficulty finding an up-to-date version of jslint.js that worked from the commandline and was easy to set up, so I wrote one myself. It's a short ruby...
While I'm not sure anyone would consider mixing single and double quotes to be an error (or look like an error, or be more error prone), mixing them does...
Hi, I've just starting using jslint and it's been very helpful. Thanks for making it available. For better or worse it combines what I'd call "correctness...
Iterating over an array backwards like: /*jslint plusplus: true */ var ii, foo = []; for (ii = foo.length; --ii;) { foo.push("hello"); } produces the error...
JSLint now warns when properties contain the substring 'Sync'. The use of that substring in Nodejs is to identify methods that can cause blockage. Such methods...
Hi, Not sure if anyone has requested this before, but a common cause of bugs and even more often, maintainence issues, arise because a programmer thinks of a...
Love the new site layout! One request: Can you make the width of the site fixed at the width of the browser window? If a line of code is wider than the window,...
A new edition of the JSLint web page is available for testing at http://jslint.com/test/jslint.html It includes many UI improvements suggested by Jeff Coniff. ...
I was surprised to find that JSLint doesn't complain about the following code: function doCheck(arr1, arr2, checker) { var i, l; for (i = 0, l = arr1.length; i...
Google Chrome Extension http://code.google.com/p/script-cover/ <http://code.google.com/p/script-cover/> Some things to note: If the program needs data to...