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...
Howdy all, Yesterday www.jslint.com processed my .js program and gave no errors. Today, on the same .js program, it seems to be giving an error at the end of...
When entering the following code: /*global DOES_NOT_EXIST:true*/ Jslint gives the following error report: Error: Problem at line 1 character 24: Expected '*/'...
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...
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...
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. ...
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...
Hello, in the "Good parts" and the latest talk on etsy if find as an example: var memoizer = function (memo, formula) { var recur = function (n) { var result =...
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...
Hi all, I have a piece of code that is not JSLint complaint: // This is a simplified version of the original code just for test-case function f(p) { var i = (0...
For example, someone could innocently do: (function () { var String = 'cool story, bro'; // Later in our program... if (!String.prototype.trim) { // ... } ...
I am receiving a warning about mis-positioning of text. My practice is to declare my vars on multiple lines, where I distinguish vars that hold variables from...
Hi All, I have started getting jslint errors for the following: var stuff = 123; var stuffStr = 123 + ""; I get : Error: Problem at line 2 character 22:...
Hi, after hours of figuring out why my code fails JSLINT's validation (edition 2010-12-23), I decided to post here. The original code uses some jQuery chains,...
In many C-like languages, !! (two applications of the unary negation operator) is used by developers as a "to boolean" pseudo-operator. This construct is...
If I put this bit of working javascript into the current version of JSLint (Edition 2011-04-19): var s = 'foo\ bar'; ...it says: Error: Problem at line 1...
ADsafe took a big usability hit when the Firefox[-6] bug was discovered. ADsafe took the necessary but highly undesirable step of outlawing the use of the []...
The JSLint.com/index.html page now has tri-state buttons for setting options. The states are black [true] white [false] gray [undefined] The difference...
At the end, where jslint displays all the used properties of objects that it's noticed, the display is showing less-than characters encoded in javascript...
Classification: UNCLASSIFIED ... What kind of problems are you encountering? I thought I had written a perfectly stable solution for the text output of diffs...
Apologies if I missed an announcement, but does JSLint no longer warn about having a line break before the operator e.g. function g() { var a = 4 + 5; } ...
Just ran into this. The scenario, now using a small sample: Copy&paste this code into the edit area at jslint.com: - - - - - - - // TAB is ` var dummy_sample =...
Hello, I am puzzled by some indentation expectations that I am getting from JSLint. I was wondering if somebody might clarify this? Please consider this...