Arunoda Susiripala
November 10, 2012
JSHint's evil "eval" check
Today, when I was building one of of my JavaScript project, it failed suddenly. And the error was a lint error which caused by JSHint (via Grunt). It was an eval error and I was pretty sure I’ve not used eval. After looking at the error I found that, it raised because of the following line.
result = schemaEvaluator.eval(experimentId, schema);
Here is the Error Message

It seems like JSHint does not parse JavaScript for checking eval.