3 ms·
One thing I hated about jslint is that it would exit after catching a few "errors" too many, even if the errors were not actually syntactically incorrect. it's
by catch23 16y ago
One thing I hated about jslint is that it would exit after catching a few "errors" too many, even if the errors were not actually syntactically incorrect. it's basically impossible to use if you're using jslint over large js projects that you don't own (I rarely go into someone else's js library to fix all of jslint's complaints!)
I'm guessing Crockford's code is extremely pristine, or that he's never used anyone else's code before.
I challenge anyone to run jslint over one of the many jquery libraries out there. I guarantee that there will be more than 100 errors per library, which is completely useless for debugging with all that noise.
- simanyay 16y agoThe default is 50 but you can tweak this value with maxerr option. So, to increase the number of errors before it stops up to a thousand do this: /*jshint maxerr:1000 */ I should probably add it to the docs on jshint.com.