When entering the following code: /*global DOES_NOT_EXIST:true*/ Jslint gives the following error report: Error: Problem at line 1 character 24: Expected '*/'...
... JSLint does what it does. If you want it to do something else, you will need to modify it. It is written completely in JavaScript with no dependence on...
JSLint is now starting to do type inference. It reports cases were variables are used to house multiple types. This is still very early, so there are many...
Hi- I'm trying to find a good tool for evaluating the following types of equations: (1) All variables names externally pre-defined (2) All allowable function...
Currently there's no way to switch off function_strict warning. This is not great as in some environments (like node.js) javascript file is really a module and...
... Thanks for the reply. I will presume you are correct and I need to figure out a way around my eval. However, in a similar vein, what is the best practice...
Hi Tim: You should be able to set the eqeqeq flag to false, and this should take care of most warnings. /*jslint eqeqeq: false, ... */ When you have time, you...
I'm currently refactoring a massive legacy site with several hundred thousand lines of js code, spread thru 100s of js files as well as inlined in jsp files. ...
Blacklisting and escaping are tricky propositions when it comes to trying to avoid XSS. See http://ha.ckers.org/xss.html for an amazing treasure trove of ...
2232
Rob Richardson
erobrich@...
May 20, 2011 8:15 pm
An escaped > is an ampersand then 'gt' then a semicolon. \> will do nothing to protect you from XSS. Rob ... From: jslint_com@yahoogroups.com...
... I'm generating JavaScript code with a template engine [1] and checking the resulting JS code with JSLint. It escapes the '>' character to avoid a...
ia_perdomo <ivan.perdomo.hn@...> wrote on Fri, 20 May 2011 ... JSLint realizes that if you put a backslash before a character that does not require it,...
Hi, It seems that this String literal a valid JavaScript code: var s = '\>'; But JSLint reports: Problem at line 1 character 11: Unexpected '\39;. In tested...
I understand eval is evil, but unfortunately have to use it. Given that ... I'd like to be error free by acknowledging this was reviewed and accepted. I have a...
The `node` option should also list `exports` as a global. I just sent a pull request to node on the documentation. AJ ONeal [Non-text portions of this message...
Hi Josh, thanks. Now the difference between "named function expression" and "function declaration" seems clear (s. also http://kangax.github.com/nfe/ or ...
... (snip) ... That would be using the language as designed: ECMA-262 [3rd and 5th editions]: The *Identifier *in a *FunctionExpression *can be referenced from...
I have a code sample that demonstrates my issue, I'm going for 100% error free jslint coverage. The code functions fine. I believe this to be the way in...