Wednesday, February 2, 2011

passfail work on JSLint?

I checked out the latest version of JSLint and found that regardless of setting the passfail to be true/false, JSLint would always abort after the 1st line. This naturally caused issues if one wanted to use JSLint with Hudson and be able to dump out all the results from JSLint so that they could be corrected all at once.

I dug through the code and noticed that this line seemed to be causing the issue:

https://github.com/rogerhu/JSLint/commit/ac9e88a1aadcc26eb7f5d8b76abdb0fe2854c71b

The problem appears to have persisted at least since the 03/06/10 version of fulljslint.js.

No comments:

Post a Comment