The experiment of using Yahoo Group's Database to manage JSLint configurations has not turned out well. So now I am going to try using Github's wiki. If you...
On Tue, Feb 19, 2013 at 11:36 PM, douglascrockford ... Any idea what is a good method to run JSLint offline on Windows (for live linting in EMACS)? Can it be...
Understandable requirement. I guess the authors of the Visual Studio plugin (which we use in our dev workflow) will need to figure out another way to run...
The vs 2008 plugin uses wsh but I wrote the plugins for 2010 and 2012 and those use v8 wrapped in c#. ... [Non-text portions of this message have been removed]...
I like to give my vars a value when I declare them, whenever that is possible. JsLint does not allow me to do that in one special case: function f(an_array) { ...
... (; looks like a mistake. Do not use forms that look like mistakes. To make it easier to find the needle, make your program look less like a haystack....
I knew that you wouldn't like that. ... That depends on the context of the `(;' ... I do not. ... My programs are far from looking like that. I never look for...
What is the benefit of caching the array length here? I doubt it has any effect on performance. function f(an_array) { 'use strict' var i; for (i = 0; i <...
Heinz Rasched <raschedh@...> wrote on Mon, 25 Feb 2013 ... From an idempotency perspective, you're better off with the the initialization in the for loop...
At one time it was considered best practice to store the array length in a local variable and use that in the comparison . That was because the object property...
That's true, however html collections are considered live which means they're automatically updated when the underlying document is changed. ... -- ...
... Because having been blamed with your usual accusations yada yada, I take the liberty to thank you for the context coloring stuff in jslint ! Not because i...
Having just gotten bitten by this and not realizing the implications, could we have the message: Missing radix parameter. changed to something more alarming...
This is not official, so your mileage may vary, but there is a project to provide some background for JSLint's rules - http://jslinterrors.com/ Although DC is...
I have been using tabs in my JavaScript because that is the convention throughout the web application I am working on. The application includes PHP, ...
I am sending this again because I can not believe their are no comments about this. The debate between spaces and tabs has been raging for years. I have been...
... JSLint never supported tabs, as far as I am aware of. You can specify indentation (e.g. `/*jslint indent: 4 */`), but that is for spaces. Possibly it would...
I used webarchive.org to go back and use a previous version of JsLint. The version of JsLint from 2012-10-02, about 5 months ago allows tabs instead of spaces....
Hi Kirk, I also have a strong preference for tabs, as they carry the semantic notion of "one level of indentation". Usually the arguments I see in favour of...
... Seems like you are right. I just tested with a minimalist example, where `use strict` is indented with a single tab: (function () { 'use strict'; }()); ...
On Fri, Mar 1, 2013 at 6:48 PM, Doc Emmett Splendid ... Not to start an argument here, but don't you think that this semantic information is redundant? In a...
Actually, prior to the creation of the indent option, jslint only supported "one tab" or "four spaces" for indentation. Personally I only use spaces because...
I am not sure what you mean as one tab. Did you try it in the JsLint version from 5 months ago. It accepts my code file tat has at least 5 tab levels of...
Typically indentation spaces/tabs are all removed when you run them through a minification process, so I personally don't care either way. I think most IDEs...
running the closure compiler from The Google over jslint.js now throws errors. it is offended for example by the usage of 'function39; as a property name. For...