I have the following code:var dateStr;dateStr = day + month + this.padStr(date.getDate()) + " " +date.getFullYear() + " " + this.padStr(date.getHours())+ ":" +...
I've been using JSLint for a bit now, and I have noticed that often there are error messages where I wonder why JSLint is complaining about it.. I'm wondering...
It would be nice if there was an option to disable the "Use a named parameter" check. I have a large regular expression that I'm using to find an address in a...
I've been working on a JS file for a week or so with frequent trips thru JSLint along the way. Today, I getting tons of errors that look like this: Problem at...
Hello I was wondering if it is possible to escape/disable jslint validation for a specific function inside a file like: function off() { /*jslint off*/ ... } ...
If a multi-line expression contains the ternary operator, the expected indentation level for subsequent lines has increased. http://pastebin.com/T2Prsp8s This...
The options have been revised to make their definitions more consistent. JSLint will now do the Good Parts by default. The options will now relax its rules,...
Silicon Valley Codecamp is a free software development conference held at Foothill College in Los Altos, California. I will be presenting there again this...
First, thank you for your great validation tool. Demo-JavaScript: var test = function () { var letsHaveSomeFun = {}; for (var entry in letsHaveSomeFun) { ...
I'm generally a fan of the whitespace rules that JSLint enforces, but there's on exception I'd like to see implemented. When I build an HTML string in...
Hello, JavaScript 1.8.5 introduces a new method of the Object constructor called Object.keys, which produces an array of the enumerable properties of a given...
DC - Thanks for your ongoing efforts maintaining jslint. There's a conflict between the options specified in the call to JSLINT(), and the options specified in...
I saw this posted in a previous message, but the thread ended because the provided code sample did not reproduce the bug. I was able to produce the following...
The last few versions [the last couple of days] of jslint have been complaining about a Strict violation for every reference to this in my scripts. Is there an...
This code fails because strict mode prohibits function declarations in conditional blocks like "switch" and "if" statements, but JSLint doesn't catch this....
I am having a problem with the latest version of JSLint. Environment: Windows XP Pro SP4; FF5.0; jslint.com Edition 2011-08-05 I am getting: Problem at line...
I just grabbed the latest jslint (8/3/11) and suddenly its complaining that using "this" is a constructor is a strict violation. I searched around a bit but...
When I submit the following contrived snippet to JSLint, I get the error: Problem at line 4 character 12: Expected 'j' at column 9, not column 12. Here's the...
Should I be able to run the latest version of jslint.js that is in GitHub using Rhino? I'm trying to run it like the following, but don't get any output when I...
I'm trying to use JSLint to check code that uses the Express module of Node.js. It uses the variable __dirname. Is there an option for JSLint that would allow...
Is there a reason why jslint doesn't approve of the CSS border-style value "groove"? It complains about a line like this: border-style: groove; -- R. Mark...
I use a specific indentation that is incompatible with jslint but I really love the "white" option, so I suggest this for people that is in the same situation....
When running the lint using cscript.exe on Windows, is there a way to pass in options as a command argument to cscript? I hope so... and if so, how would this...
JSLint supports var statement indenting in a variety of ways (see fn1, fn2, and fn3). Would you consider adding support for the method as shown by fn4? For ...
JSLint does not give any warning about the following (repeating a var declaration in the global scope). var fn = function () { //something here }; var fn =...
Hello, I come back again an a problem I don't understand well: I'm testing this function on jslint.com: function test(data, args) { "use strict"; var b = data;...
Hello ... @charset "UTF-8"; #djDojoPreloader { background: #fff url('../images/loading.gif') no-repeat center center; } ... But I get the error: /Error:/ ...
window.location.href = window.location.href; is a standard web programming technique to reload the page WITHOUT re-POSTing the form. But JSLint says "Weird...