Hmm. I'm not happy about that. I sometimes use JSLint to check HTML and CSS files. It seems to do a good job at both. ... -- R. Mark Volkmann Object Computing,...
I saw that a while ago someone had made a Unix JSLint Wrapper. It looks like it hasn't been updated for quite some time. Anyone know of any projects that do...
As an alternative, this shell script works nicely if you have Java installed.  It uses the jslint4java release from http://code.google.com/p/jslint4java/...
... You should be able to reduce this to: #/bin/bash /usr/bin/java -jar /usr/local/lib/jslint4java-2.0.2/jslint4java-2.0.2.jar "$@" -Dom ... [Non-text portions...
Thank you both. It's good to have options. I'll probably go with node, but it's really just nice to have a JSLint I can run between Git and Vim. I really...
... FWIW, that's what I wrote JSLint Reporter for: https://github.com/FND/jslint-reporter (I wasn't aware of the JSLint Utils until now) I've added both...
I am currently getting the following error in JSLint and don't understand why. ... Bad for in variable 'header39;. ... I am iterating over object {} properties...
I am sorry about that. I needed another pair of eyes.... On further inspection... the actual code was something like: /*global doDoh */ (function doh (headers)...
For our project, embedding JavaScript in HTML is not bad practice. In fact, there is no alternative. We are required to produce a single output file. The...
So a single zip with 3 files (html, css, js) is out of the question? How do they deal with images? Text only? Wow, I have some flaky clients, but that is def...
... You will be better off moving to a build and templating system that pulls in your JavaScript source files and your HTML templates, checks them separately,...
Thanks for all the advice. We have found a workaround. I am sorry to lose the HTML parsing; it was a useful feature....
3190
Jos van den Oever
jos.van.den.oever@...
Mar 26, 2013 8:33 pm
In WebODF, we've been happily using JSLint for some time. It is a terrific tool for non-trivial JavaScript project. In addition to JSLint we are using Closure...
... I may add option.closure. Is there any more weirdness?...
3192
Jos van den Oever
jos.van.den.oever@...
Mar 27, 2013 7:18 am
... Writing var a = /**@type{!number}*/(b); also has effect on the white-space. JSLint expects the 'b' to be much closer to the '='. This is a check that can...
On Wed, Mar 27, 2013 at 11:27 PM, douglascrockford ... The idea is that JSLint would warn when it sees something as the following? o.getX = function () {...
... I use get and set sometimes, I am aware that they are: 1. Not overly performant (js perf type diagnostics). 2. Not compatible in IE < 9 browsers. But in...
3197
Jos van den Oever
jos.van.den.oever@...
Mar 28, 2013 9:34 am
... I have tried on jslint.com with this fragment: === /*jslint closure: true, white: true */ function cast(arg) { "use strict"; return...
... Thanks. Please try it now. https://developers.google.com/closure/compiler/docs/js-for-compiler does not indicate that the parens are required. Why are they...
3199
Jos van den Oever
jos.van.den.oever@...
Mar 28, 2013 1:12 pm
... The parentheses are required to limit the scope of the type cast. The use of @type for casting is not documented on that page, but there is information on...
Yahoo Groups has aged really badly, and recently I was locked out of this group a number of times because of Yahoo's operational problems. So I am moving the...