Classification: UNCLASSIFIED I cannot help but think this rule may be harmful. I understand the intention behind this rule and how that intention may apply to...
Thanks for supporting JsLint. I really enjoy using it. Is this a new rule? I get this error now. Can someone please explain the reason behind the rule? Error: ...
I expect this is a common question, but searching for "this" isn't getting me anywhere. "use strict"; function foo() { var a = this; } var bar = function() { ...
I am posting here with some trepidation, and I am thoroughly expecting to be insulted by DC. Here goes anyway. "The Good Parts" Appendix A5 (Awful parts)...
It would be nice if the following predefined globals could be added to the 'browser39; array self top XDomainRequest and these to the 'standard39; array void ...
Tolerate uncapitalized constructors checkbox and the associated newcap flag does not seem to be working. I get ... "should start with an uppercase letter."...
Given the following code: var obj = {}, ````test = function () { ````````'use strict'; ````````return true; ````}.bind(obj); JSLint returns the following...
This code gives me an error, I'm not sure why: function charAt(sValue, index) { return sValue.charAt(index) - '0'; } Message: Problem at line 2 character 25:...
Hi, I approached a whitespace issue. I have a code that it's impossible to refactor so it's ok for jslint - I can resign from checking whitespace but I don't...
Ah yes. Thanks Harry. Obviously the error is partly mine. The “Bad HTML string” error seems to be caused by an internal JSLint error on an earlier run. If...
Hi If I run the following code (properly indented) through JSLint at jslint.com with all options cleared, it validates. If I run the exact same code through...
JSLint wants CSS blocks to end in semicolons, like this: <style type="text/css"> #eid{color:navy} </style> It's perfectly OK to not have a semicolon in...
It seems JSLint cannot check an HTML document if there is an HTML comment at the beginning of the document. Can this be fixed or is there a way around it? For...
The option.type has been renamed as option.confusion. The option.type will continue to work for a short time. JSLint's type inference is now looking at...
Good morning, Your problem seems to be your insistence on declaring a function inside a function call. This is much better (from a readability perspective): ...
Hi I'm new to javascript, but I have a solid C/C++ background. One of reasons why I prefer C++ over C is because it stricter. I prefer to catch errors during...
Hi There is some indentation strangeness. JSLint does not like properly indented text: /*global g */ /*jslint indent: 2 */ (function () { "use strict"; return...
Given the following example code: function test(x) { ~~~~'use strict'; ~~~~return x === 1 ? 'one' : ~~~~~~~~x === 2 ? 'two' : ~~~~~~~~~~~~x === 3 ? 'three39; : ...
Dear Vendor, Please provide an update on ECCN for the product JSLint. Thanks, Sree OAI-sys, Application Development and Testing Tools Travelers Insurance. HPSM...
Porting this feature request over from Github issues: I don't know what your views are on modifying Object.prototype, but I'm sure you've heard all the...
Gentlemen, after setting JSLint loose on my code I find myself with some bugs corrected. However, as my project is set up in many separate script files, I have...
I have added a complexity measure to the function report. See http://en.wikipedia.org/wiki/Cyclomatic_complexity This is an experimental feature. I am not...
An unused argument in an argument list should not be reported as an 'unused variable' if there are more arguments in the argument list. It is not unused, it...
CouchDB uses an attribute named _rev to identify document revisions. var revision = doc["_rev"]; gets me: ['_rev39;] is better written in dot notation. var...
I am no longer able to upgrade to JSLint to pick up bug fixes and new features because of these two rules: - "this" can't be used in named functions. I...
I am attempting to write a automatic semicolon insertion mechanism into my custom fork of Frank Marcia's JavaScript port jsmin when I encountered some strange...
Maybe I'm missing something. When I enable "Tolerate many var statements per function" I still get errors for failing to have just one var at the top of the...
(I apologize for the multiple posts - I did not know I could send good old plain text) Are JSLint indentation rules documented anywhere? (in particular rules...