I realize the topic of unused arguments has been discussed before, but I wanted to raise it again with a suggested alternative behavior. When creating...
Greetings! I'm Red Hat's JBDS QE and found a bug in the JSLint integration. The issue is filed here: https://issues.jboss.org/browse/JBDS-2062 Are you able to...
Hi! I've created a plugin for resharper that highglights warnings from JSLint in js files. To test it, I've started creating small testfiles, and I've gotten...
It seems the line counter is not counting the blank lines, at least that's what it seems in the first few lines when the code causing the error seemed...
I may want to switch to node.js from WHS, but my setup uses wsh.js. Is there an equivalent that works the same as wsh.js but is for node.js instead of WSH?...
It seems when defining: /*jslint es5:true*/ a = { get b () { return 'b value'; } } JSLint requires that a setter is also declared, although if the intention is...
I would like to use the following statement so `this` is not DOMWindow anymore, although JSLint doesn't expect so see a `.`[dot] after (function(){...}) ... ...
I edit a greasemonkey script and I get this error now Error: Problem at line 373 character 19: Missing 'new'. GM_xmlhttpRequest({ Problem at line 415 character...
The library underscore.js (http://documentcloud.github.com/underscore/) exports a single variable: _ -- a single underscore. I've tried putting _ in my...
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...