From ef2eaceb88d936c3dfab35954a13d7833ca4c9c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Sat, 25 Apr 2015 18:03:56 +0200 Subject: [PATCH] Remove evalCalls from policies (phantomas bug) --- lib/metadata/policies.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/metadata/policies.js b/lib/metadata/policies.js index 212b020..461f17f 100644 --- a/lib/metadata/policies.js +++ b/lib/metadata/policies.js @@ -226,7 +226,7 @@ var policies = { }; } }, - "evalCalls": { + /*"evalCalls": { "tool": "phantomas", "label": "eval calls", "message": "

The 'eval' function is slow and is a bad coding practice. Try to get rid of it.

", @@ -234,7 +234,7 @@ var policies = { "isBadThreshold": 10, "isAbnormalThreshold": 20, "hasOffenders": false - }, + },*/ "documentWriteCalls": { "tool": "phantomas", "label": "document.write calls",