Here at the US Courts we use YUI for our electronic case management system, and recently use JLint to clean up our JavaScript code. Although I personally...
I have been convinced that . in Regular Expression literals is dangerous because it usually does not precisely match what was intended. That can lead to...
... I think this is a good option. I'm not sure if I will use it (at least not at first) but this has me thinking more about my regular expressions and using...
In the world of Perl, we have this great book called Perl Best Practices, and there Conway argues that "else" should be written like this: if (ping == pong) { ...
... It certainly isn't Perl. I'd argue it's much easier to write bad code in Perl than JavaScript, but at least it doesn't insert semicolons for you. You've...
JSLint now prohibits assignment to the arguments pseudoarray. The problem is that arguments is not a snapshot of the arguments that are bound to the...
Howdy, When "Assume a Browser" is checked, why does the following code cause a problem? var o = new Option(); Is there some browser that does not support the...
When confronted with a number literal like .0725 JSLint no longer reports Don't use extra leading zeros '0725'. but it does report A leading decimal point can...
I added a warning to the web page edition at http://www.JSLint.com/: WARNING: JSLint will hurt your feelings. I relaxed the ADsafe restriction on the [ ]...
I have added a glovar option. When glovar: true, then var cannot be used to declare global variables. Fiann O'Hagan convinced me that many programmers have a...
... Do you think it would be a good idea to include a version comment in the JSLint source file? I'm working on something and I think it would be good to say...
Hello, I got this error from jslint: Unsafe character. fn("FAILED—" + message); The '—' is char 226 or 0xe2. It is not ascii, but I was wondering why it ...
... why it ... There are characters that are handled inconsistently in the various implementations, and so must be escaped when placed in strings, and must...
Hi, I have created an MSBuild task that can be used to automate the process of running the JSLint tool on Javascript files. You can read about it on my blog at...
I added arguments to the set of excluded members. The set now contains apply arguments call callee caller constructor eval prototype unwatch valueOf watch...
escape & unescape do not do url encoding correctly and they are not in the official standard. JSLint no longer accepts them. If you want JSLint to pass crappy...
... Hello Douglas, This is the first time I heard that escape and unescape do not do URL encoding correctly, and are not in the official standard. Where can I ...
The ECMAScript standard reserves the following words: abstract boolean byte char double final float implements int interface long native package private...
I corrected an error in JSLint that created a scope around labeled statements. function a() { foo: for (var i = 0; false;) { } return i; } As a result, it used...