Top "Jslint" questions

JSLint is a "code quality" tool for JavaScript developed by Douglas Crockford, a well-known developer also responsible for JSON, JSMin, ADSafe and parts of YUI.

JSLint's issue with 'window' as a global variable

So I'm using JSLint to try and detect errors. I turn some options off I don't like, but I don't …

javascript jslint
Function declaration in CoffeeScript

I notice that in CoffeeScript, if I define a function using: a = (c) -> c=1 I can only get …

javascript coffeescript jslint function-declaration
Is there a working JSLint Eclipse plug-in?

Can anyone point to a functioning JSLint plug-in for Eclipse?

eclipse eclipse-plugin jslint
Suppress "Expected '===' and instead saw '=='." error in jslint

How can I stop the error message Expected '===' and instead saw '=='. from appearing in jslint. Doesn't …

javascript debugging jslint
How to fix jslint error 'Don't make functions within a loop.'?

I am working on making all of our JS code pass through jslint, sometimes with a lot of tweaking with …

javascript jslint
Why were the new JSLint errors "use spaces, not tabs" and "unsafe character" introduced?

I have been validating my JavaScript using JSLint for about 2 years now and once in a while there are rules …

javascript jslint
JSLint message: Unused variables

what can I do if JSLint complains about "i" being an unused variable in such a scenario: var items = "<…

javascript jquery jslint
Any tool to automatically fix simple JSLint issues?

I've run JSLint for the first time on a rather lengthy file, and I have a lot of errors like …

javascript jslint
JSLint error: Move all 'var' declarations to the top of the function

JSLint site updated, and I cannot check JS scripts anymore. For me, this warning is not critical, and I don't …

javascript jslint
How can I check JavaScript code for syntax errors ONLY from the command line?

JavaScript programs can be checked for errors in IDEs or using online web apps but I'm looking for a way …

javascript syntax-error jslint jshint