In JavaScript: A Survey of the Language, you wrote: !! can be used as a prefix operator, converting its operand to a boolean. but JSLint says: Confusing use of...
Using JSLint with emacs and flymake-mode to provide near-live code annotation with lint results has been well documented for a while over on EmacsWiki. It's...
I noticed that JSLint does not detect a problem with HTML ID attributes that begin with a numeral. I ran into a problem the other day where YUI3 was doing...
Hi, A developer in my team is using the CSS code: z-index:+1; to increment the z-index of an element by one. This fails the JSLint validator, I cannot seem to...
I put together a Ruby gem driver for JSLint called jslintrb. It's a small shim around the Ruby Johnson gem, which is a bridge between Ruby and SpiderMonkey,...
Methinks the time spent on the ASCII calligraphic title alone should be worth something... Fine work on the rest as well :) Peace, Dan [Non-text portions of...
I normally don't use with: never in production code. The one case I do like it is in test drivers. I have a test object which has a lot of methods (BDD:...
JSLint doesn't appear to recognize the (relatively new) `rgba` syntax for defining colors with alpha channels. Specifically: @charset "UTF-8"; div { ...
Hi, I have a queer error message in my code. //My full code: "use strict"; var foo = true; //The error message: Error: Problem at line 2 character 9: It is not...
Hi. In production mode I concatenate my files. What if one of them is not in strict mode? So the result is: //none-strict-mode-ecmascript "use strict"; ...
Hi List, Can somebody tell me why JSLint give me these errors? I think let, const are JavaScript language feature. Lint at line 38 character 1: Expected an...
Hi jslint.com mailing list, As a programmer of server side JavaScript software I would be very convenient if jslint also supported other APIs other than the...
Hi, I use the following syntax quite regularly for generating HTML rather than using the +="" or similar techniques. var htmlstring = '\ <h1>Title</h1>92; <p>\ ...
In JavaScript/ECMAScript, undefined is NOT a reserved word, but I get the error "Expected an identifier and instead saw 'undefined39; (a reserved word)" when...
I've noticed that JSlint insists that all the times I put an alert box in that it is listad as an "Implied global". I don't see how that is possible since it...
When an array or object contains functions: var aFunct=[]; aFunct[0]=fnMyFunction; What are the pros and cons of invoking the function using either of the...
I am thinking to remove the Disallow undefined variables. I added the option originally to make the transition easier for people with sloppy code. But that was...
This extension has so improved my jslint/JavaScript workflow. Some suggestions: 1 - Single key (CTRL-J maybe?) to launch the validator. 2 - Launching the...
I've updated my jslint wrapper: - Now supports the "predef" option. - Uses jslint 2009-11-24, which adds the "devel" option. As usual, it's available from...
I added an Assume console, alert, ... (devel) option. It predefines globals that are useful in browser development that should be avoided in production. It is...
Hi, apologies if this has already been covered. I was wondering whether there are any plans to bring in the option to be able to flag console.log statements in...
Hi all! I'd like to let you know that I've released a new version of my jslint wrapper, jslint4java. The new features are: * Upgrade to JSLint 2009-10-04. *...
I'm working on a bookmarklet for ie6 which I hope explains the lack of comments, short variables, and single-lined nature of the function. jslint seems to miss...
Given var b = javaApplet.Connect("javascript:OnConnect()"); as the target of investigation, I inevitably see the "Script URL" complaint from JSLint. Since the...
This code jslint fine, but the second aa function is not accessible. Can't jslint give a warning for this? "use strict"; var NN = ''; function aa(name) { NN =...
Hi, I use JSLint with Rhino. And as the goodparts sometimes change, I wrote a short rubyscript to update the options-string. Is there another way to get the...
Hello, I am trying to integrate JSLint with our build and hence my preferred choice is Rhino engine for JSLint. However I havn't had much of luck in getting...