JSLint now warns when properties contain the substring 'Sync'. The use of that substring in Nodejs is to identify methods that can cause blockage. Such methods...
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...
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,...
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. ...
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...
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...
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...