Doug, I don't have a problem with this option, but I would like to suggest a stricter implementation of it's behavior. Instead of broadly catching the...
2900
douglascrockford
douglascrock...
Jun 11, 2012 9:15 pm
I will be giving a talk about the theoretical foundations of JSLint. http://www.meetup.com/TechXploration/events/65087252/...
2899
Martin Cooper
mfncooper
Jun 1, 2012 2:22 am
On Thu, May 31, 2012 at 6:43 PM, Michael S. Mikowski ... I agree, a linting tool should stick to static analysis of the code. It shouldn't be trying to...
2898
Michael S. Mikowski
z_mikowski
Jun 1, 2012 1:43 am
If you are using web storm or perhaps other ide (like vim with syntax) its already highlighted. As much as I love jslint, I feel this is beyond its original...
2897
douglascrockford
douglascrock...
May 31, 2012 7:09 pm
... If I do this, I will dictate the format of the TODO directive, and I will tolerate no whining about it. Is that agreeable?...
2896
Luke Page
page.luke...
May 31, 2012 6:59 pm
Unfortunately my IDE (visual studio) only does it for c#, not js. But, even if it did, its useful as a task list, but I use jslint as a pre-check-in and I...
2895
josephtbrdly
May 31, 2012 3:42 pm
Love the new site layout! One request: Can you make the width of the site fixed at the width of the browser window? If a line of code is wider than the window,...
2894
Tom Worster
thefsb
May 31, 2012 2:40 pm
i think this is a job for the ide, not the linter....
2893
IcedNet Development T...
dwmcneil...
May 31, 2012 2:07 pm
I can definitely see the value in that. I already search entire projects for this pattern (I bear some of the guilt for usage after all), which I automate, but...
2892
Luke Page
page.luke...
May 31, 2012 2:03 pm
Hi, Not sure if anyone has requested this before, but a common cause of bugs and even more often, maintainence issues, arise because a programmer thinks of a...
2891
douglascrockford
douglascrock...
May 16, 2012 4:19 pm
... That is because you failed to specify option.stupid....
2890
Merlin
harry152566
May 16, 2012 4:01 pm
This code: /*jslint nomen: true, node: true */ "use strict"; var fs = require("fs"), path = require("path"); var JSLINT_PATH = path.join(__dirname,...
2889
Tom Worster
thefsb
May 15, 2012 5:07 pm
... I agree and support the feature request. Sometimes I feel so stupid reading fancy modern JS code. It's nice to know I'm not alone in benefiting from "the...
2888
Robert Ferney
capnregex
May 15, 2012 4:54 pm
Or even, references to the chapter in The Good Parts. - Robert Ferney ... [Non-text portions of this message have been removed]...
2887
Robert Ferney
capnregex
May 15, 2012 4:52 pm
Douglas, This little explanation was great. It would be wonderful if the error messages would link to pages with little explanations like this. - Robert Ferney...
2886
sandyhead25
May 15, 2012 1:50 pm
Would it be possible to warn on use of the "this" keyword? With exception to extending prototypes or referencing from the DOM I have never seen an efficient...
2885
douglascrockford
douglascrock...
May 14, 2012 6:30 pm
This code fails JSLint: ````var myScript = {}; ````(function () { ````````var THIS = this; ````````function defined(x) { ````````````return typeof x !==...
2884
Luke Page
page.luke...
May 10, 2012 7:16 pm
Disclaimer: I am no fan of Microsoft. but... The page looks bad on IE9 because the #JSLINT_ ID selector is not being interpreted right (something to do with...
2883
Kirk Cerny
kirk.cerny
May 10, 2012 4:52 pm
Thanks. This looks good. Kirk Cerny [Non-text portions of this message have been removed]...
2882
douglascrockford
douglascrock...
May 10, 2012 4:50 pm
... Yahoo itself is not longer supporting widgets, so I don't think I need to support them too. You can use option.predef or /*globals*/ to specify the widget...
2881
Chris
altearius
May 10, 2012 2:49 pm
I like the new tri-state options. These are much easier to understand than the old ones. The "Clear Options" button sets "Indentation" and "Maximum number of...
2880
Merlin
harry152566
May 10, 2012 2:43 pm
... I note that you have removed the "Assume a Yahoo! Widget" option from the UI. I am not unduly bothered by that, but hope that you will leave that option...
2879
douglascrockford
douglascrock...
May 10, 2012 1:41 pm
A new edition of the JSLint web page is available for testing at http://jslint.com/test/jslint.html It includes many UI improvements suggested by Jeff Coniff. ...
2878
Chris
altearius
May 10, 2012 1:14 pm
I agree: I think such a rule would be a useful improvement to JSLint. I have seen this sort of situation causing numerous bugs in my own code. Of course, we...
2877
aceblchboy
May 10, 2012 12:11 pm
Google Chrome Extension http://code.google.com/p/script-cover/ <http://code.google.com/p/script-cover/> Some things to note: If the program needs data to...
2876
John Hawkinson
john.hawkinson
May 9, 2012 9:30 pm
Rob Richardson <erobrich@...> wrote on Wed, 9 May 2012 ... I don't agree. i is a common counter variable. It is reasonable style to use i as the...
2875
Rob Richardson
erobrich@...
May 9, 2012 6:16 pm
I think an even larger issue should be checking for identically named variables declared in different scope. This too should be illegal: function a() { ...
2874
Max
oeroeroer
May 9, 2012 4:57 pm
What might be the general rule be, just literally "Nested for loops shouldn't share control variables"? Or is there a larger principle at play here?...
2873
Martin Cooper
mfncooper
May 9, 2012 4:00 pm
I was surprised to find that JSLint doesn't complain about the following code: function doCheck(arr1, arr2, checker) { var i, l; for (i = 0, l = arr1.length; i...
2872
Dylon Edwards
deeclhtoa
May 2, 2012 1:44 am
I use it, too. Dylon ... [Non-text portions of this message have been removed]...