I've just completed installing SpiderMonkey on Centos so that I can run JSLint from the command line. So far it has proved a fantastic way to spot those annoying little extra commas that break our javascript in IE.
For a bit of amusement I decided to fire the Ext 3.2.1 source code through the tests; 99 files were perfect, while 182 files failed with at least one error.
Does anyone have any opinons about how strictly we should adhere to the amendments suggested in the JSLint output?
JSLint is a great help, but it's not perfect. In some functions, it will complain that not all paths return a value, but you do want it to return undefined for the path it complains about.
That's a lot of "Missing space after :" I'd have to fix. Also, due to the way I've split up classes into individual files, I get a lot of 'X is not defined' :/