Hi, I've just been to the JSLint site again today and noticed a new edition date. I wonder if there are any blog posts, notifications or release notes that...
I tried to use the parse() function of JSLint to parse the following three pieces of JavaScript code: 1. function(b, c){var a = b + c; return a; } 2....
Would it be possible to have the Good Parts options automatically checked from entering the page with a URI parameter. Example: http://jslint.com/?goodparts I...
I pasted the following snippet in jslint.com text area, selected "The Good Parts" options and pressed "JSLint" button:function foo(p1) { var a = p1, b; return...
The following generates the error "'e39; is already defined.": function f() { try { } catch (e) { } try { } catch (e) { }} The identifier "e" is bound to...
I'm new here (but a old hand with JSLint -which I consider an excellent teaching aid for Javascript; and a must if you want your code to run on Internet...
Thanks to Douglas, et al, for JSLINT. I use it on Windows, with cscript.exe, in two ways: - from the command line and in build scripts (makefiles). - and...
With the following input, /** * A comment *//A redundant comment */ JSLint reports: Problem at line 3 character 4: Unclosed regular expression. I think this is...
I just ran the ExtJS javascript library through JSLint again and I am pleasantly surprised by the progress that JSLint has made in the past few months. The...
Is it possible to manipulate and draw on a <canvas> element from within an ADSAFE widget? I can select the canvas element, and it exists in the protected...
As a developer, I use the console.log() function (or ADSAFE.log() internal to an adsafe widget) frequently to debug my code. I've noticed that when there is an...
Since ADSafe widgets are basically sandboxed javascript/dom apps, is there any suggestion on how to nicely shut them down (such as an ADSAFE.stop() function)? ...
JSLint doesn't like vendor extensions in pseudo-selectors, even with the `css` options toggled. I'm thinking specifically of `button:-moz-focus-inner`, which...
Hi Douglas, I've got an idea here. I don't know if you've already considered it, but you seem to have implemented this idea to some degree with locating...
Is that possible? IMHO, curly braces all over the place, even where they are not needed, make readability worse. But that's my opinion, and I don't want to ...
I'm putting together a presentation to highlight the sort of bugs that JSLint can help you avoid, I guess this focuses on obvious bugs in code caused by things...
I have some legacy JavaScript that I am trying to clean up, which of course involves heavy linting [;)] The code was all global, of course, which I have...
Hi I'm running a slightly modified jslint over a bunch of our javascript files and have noticed that if our code defines an array such as var a = new...
Hi Doug, I was curious as to why using "_" in identifiers (e.g. to convey that a function might be private as opposed to be publicly accessible) is considered...
There is a new option, Tolerate ES5 syntax. If you check this option, JSLint will accept the new get/set syntax in object literals. It will require that the...
Chained functions are quite popular and offer some flexibility, with a sometimes lack of readability. Currently, JSLint will accept this as accurately...
Hi Team JSLint, I understand the reluctance (or lack of time!) for jslint to officially support javascript getters and setters. And I was a bit too lazy to...
Why does JSLint complain when a function argument is used as variable in a for in loop? ex: (function () { var foo = function (bar) { var o = {}; for (bar in...
How about a little lighthearted fun at the expense of our favorite guru? http://crockfordfacts.com/ My favorite fact so far: "Douglas Crockford's code works...
JSLint has a new option, Assume Windows. It predefines the following global variables: /*global ActiveXObject: false, CScript: false, Debug: false, Enumerator:...
Just came across some code which was overriding some functionality from the jquery datepicker. The code uses this construct: var a = b = c; which happens to...
I'd just like to report what appears to be a minor typo in the documentation. In http://www.jslint.com/fulljslint.js on line 121 it describes the section on...
Hi When using the JSLint to check jscripts, why do I get an error messages for known and defined JScripts objects like 'ActiveXObject', 'Enumerator39; and for...