Hello, Line 1786 of fulljslint.js is part of an attempt to detect and validate the closing of an HTML comment: -->. It reads as: if (s[i + 2] !== '>') { ...
Using JavaScript I am attempting to forcefully inject double quote characters into the parentheses of url fragments in CSS, so that url(jslint.com) becomes...
i have found a bug. when running the following code through JSLint, it gives me the error below. /*global define: false */ /*jslint newcap: true, onevar:...
The error is correct. Specifically there needs to be a space between the single quote character and the plus sign. /Jakob Fra: jslint_com@yahoogroups.com...
I've combed the web for answers to these questions, but haven't found them ... even in the ES5 spec which surely contains the answers. In ES5 what is the...
I've read that in ES5, accessing the global object is a runtime error. Can someone explain what "accessing the global object" means? Does it mean that "this"...
JSLint now accepts the "use strict" declaration. This is in anticipation of the next edition of ECMAScript. Strict mode will reject many problematic features...
JSLint doesn't barf if the last case doesn't end in a break or return. For example JSLint believes this is ok: switch (somevar) { case 'a': // some code ...
JSLint highlights this as a problem: /* * My Library Descriptive Comment * some descriptive content here */ with a message about mixed tabs and spaces...
running jslint over some css which includes the svg element as a selector gives the warning: "Expected a tagName, and instead saw svg." a similar thing happens...
Hi there, Can you please explain why this is a "strict violation"? "use strict"; (function (window) { // ... }(this)); I've seen this as a common technique...
JSLint requires that no whitespace occurs between . and a property name. JSLint requires that no whitespace occurs before [ or ( when they are used for...
Hello JSLinters, JSLint complains when a FOR IN loop has no IF statement wrapping its body to filter unwanted properties from prototype: var i, obj = {a: 1, b:...
Anyone care to share opinions on the JavaScript library Underscore.js at http://documentcloud.github.com/underscore/? It looks cool to me. I'm wondering if...
Suppose I do the following things: - write a constructor function - set the prototype property of my constructor function to refer to another object - create...
Hi, I've got a suggestion for a small addition. This is directly taken from using the feed validator at http://feedvalidator.org/. With that service, you...
Two small issues popped up recently in my code that would probably be worth taking a look at: 1. `last-child` isn't recognized as a pseudoclass. Adding it to...
Hello, One piece of code which jslint fails on is something like the following switch(a) { case 2: return "case 2"; case 3: if (b) { return "case 3b"; } else {...
I've been working hard to come up to speed on JavaScript (the right way) and I was delighted to find jslint and have been actively working on how I could ...
JSLint is now doing more checking of strict mode code. Use of strict mode is highly recommended, but do not use strict mode unless you fully understand what it...
JSLint now considers function statements to produce something that is more const than var. That means that you will get a warning for attempting change the...
I've been using JSLint for quite a while now. I think it is an invaluable tool! I'm sure many people that use JSLint have some things they wish could be...
JSLint now requires that there be no whitespace or line break between a . and a property name. This has always been a good practice, and is now especially...
JSLint now prohibits assignment to the arguments pseudoarray. The problem is that arguments is not a snapshot of the arguments that are bound to the...
Hi all! I've released an update to my jslint wrapper, jslint4java. This release is just a bug fix, plus an update to the latest version of JSLint. For full...
JSLint doesn't report any error, because "foos" is considered global. Any suggestion to avoid that error? Thanks in advance, Alberto ... "use strict"; function...
Group, I am trying to figure out why slice appears to be slower when executed upon a large string than merely pointing to a group of indexes. My presumption...