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...
I just saw in a small jQuery plugin I was borrowing for my own use: function checkUndefined(a) { return typeof a === 'undefined39;; }; if (checkUndefined(data))...
Douglas, I started using the /*properties */ directive and like what it does, though it's making some things a little labor-intensive. 1. It would be very nice...
I'm using a library expects a callback function with certain parameters. I only am interested in the second parameter, but must have an unused first parameter....
Here is a little script where JSLint throws an error, it's valid js for me: Problem at line 4 character 5: Expected an identifier and instead saw 'with'. with...
'use strict'; function test() { return 2 + 2;} with node: false Error: Problem at line 1 character 1: Use the function form of 'use strict'. 'use strict'; with...
After reading your article<http://www.yuiblog.com/blog/2010/12/14/strict-mode-is-coming-to-town/> I could understand that it is be possible to use both sloppy...
Hello Is there a chance to see a new option "Assume dojo", as we can already see for node.js, Rhino... ? This option could define custom /*properties */ etc......
Hello, I'm testing JSLint on some css, it says the css must begin with @charset 'UTF-839;; So I add it, no more error with JSLint But when I validate this css to...
Hello Again on my dojo script, I'd like to prefill the /*properties */ in order to avoid type confusion error on some dojo functions For example in a script...
Hello.I use JsLint a lot from now on.Let the group participate by all means.Thanking you in advance. [Non-text portions of this message have been removed]...
When scanning a .js, JSLint reports this: Problem at line 119 character 35: Type confusion: function and '{': object. djTagonomyStore.fetch({query: {type:...