That sounds good to me! Thanks for maintaining JSlint, you do a great job. ... [Non-text portions of this message have been removed]...
3171
Mark Volkmann
mark_volkmann
Mar 15, 2013 10:15 pm
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,...
3170
douglascrockford
douglascrock...
Mar 15, 2013 10:01 pm
When I began JSLint in 2001, the usual practice in web applications was to include inline scripts and event handlers in HTML. So JSLint includes an HTML parser...
3169
quintic
nick_hobson
Mar 13, 2013 12:05 am
... That was fast -- thanks! It now reports t, x, y as closure variables....
3168
douglascrockford
douglascrock...
Mar 12, 2013 10:56 pm
... Thanks. Please try it now....
3167
quintic
nick_hobson
Mar 12, 2013 10:29 pm
Given... function f(x, y) { 'use strict'; var t = x; return function (z) { console.log(x + y + t + z); }; } ... JSLint reports: f(x, y) closure t, x Should y...
3166
Joseph R. Justice
josrjust
Mar 2, 2013 2:59 pm
... Speaking as a non-active user of Javascript or of JSLint... I wonder if there's a way to specify at the beginning of a Javascript program file the...
3165
Heinz Rasched
raschedh
Mar 2, 2013 2:12 pm
Yeah ! I'd love to be taught the good parts of ES5....
3164
IcedNet Development T...
dwmcneil...
Mar 2, 2013 1:52 pm
Have brought to light another question: is there an update planned for The Good Parts? I for one would purchase it again, we're it updated and in any way...
3163
Heinz Rasched
raschedh
Mar 2, 2013 1:39 pm
... That information of yours got me on the right path: calling closure with --language_in ECMASCRIPT5 solves my problem. No errors are beeing thrown at me. ...
3162
Merlin
harry152566
Mar 2, 2013 12:18 pm
Please see my post of Sun Oct 24, 2010 4:01 pm http://tech.groups.yahoo.com/group/jslint_com/message/1562 Harry....
3161
Felix E. Klee
feklee
Mar 2, 2013 11:33 am
... The book is dated....
3160
Mark Volkmann
mark_volkmann
Mar 2, 2013 11:29 am
I think the question was whether JSLint conforms to the advice in your book. ... R. Mark Volkmann Object Computing, Inc. ... JSLint strictly conforms to the...
3159
Jakob Kruse
thekrucible
Mar 2, 2013 11:13 am
What I mean is that it did not support using two or more tab characters to represent one level of indentation. One level, back then, had to be exactly one tab...
3158
douglascrockford
douglascrock...
Mar 2, 2013 9:14 am
... JSLint strictly conforms to the syntax of ES5. File a bug report with closure....
3157
Kirk Cerny
kirk.cerny
Mar 2, 2013 12:08 am
I (the person that asked the question in the first place) like to use spaces. But the code base I am currently on uses tabs. ... [Non-text portions of this...
3156
Heinz Rasched
raschedh
Mar 2, 2013 12:04 am
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...
3155
Ben White
benxwhite
Mar 1, 2013 10:49 pm
Previously it would only warn you if you used both spaces and tabs. ... [Non-text portions of this message have been removed]...
3154
Ben White
benxwhite
Mar 1, 2013 10:49 pm
It supports tabs, or did historically... ... [Non-text portions of this message have been removed]...
3153
Ben White
benxwhite
Mar 1, 2013 10:49 pm
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...
3152
Kirk Cerny
kirk.cerny
Mar 1, 2013 9:31 pm
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...
3151
Jakob Kruse
thekrucible
Mar 1, 2013 9:26 pm
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...
3150
Felix E. Klee
feklee
Mar 1, 2013 6:56 pm
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...
3149
Felix E. Klee
feklee
Mar 1, 2013 6:52 pm
... Seems like you are right. I just tested with a minimalist example, where `use strict` is indented with a single tab: (function () { 'use strict'; }()); ...
3148
Doc Emmett Splendid
emmett.thesane
Mar 1, 2013 6:48 pm
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...
3147
Kirk Cerny
kirk.cerny
Mar 1, 2013 6:42 pm
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....
3146
Felix E. Klee
feklee
Mar 1, 2013 6:29 pm
... 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...
3145
Kirk Cerny
kirk.cerny
Mar 1, 2013 6:23 pm
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...
3144
Kirk Cerny
kirk.cerny
Feb 28, 2013 6:12 pm
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, ...
3143
benquarmby
Feb 27, 2013 8:30 pm
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...