Browse Source

Remove evalCalls from policies (phantomas bug)

Gaël Métais 10 years ago
parent
commit
ef2eaceb88
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/metadata/policies.js

+ 2 - 2
lib/metadata/policies.js

@@ -226,7 +226,7 @@ var policies = {
             };
             };
         }
         }
     },
     },
-    "evalCalls": {
+    /*"evalCalls": {
         "tool": "phantomas",
         "tool": "phantomas",
         "label": "eval calls",
         "label": "eval calls",
         "message": "<p>The 'eval' function is slow and is a bad coding practice. Try to get rid of it.</p>",
         "message": "<p>The 'eval' function is slow and is a bad coding practice. Try to get rid of it.</p>",
@@ -234,7 +234,7 @@ var policies = {
         "isBadThreshold": 10,
         "isBadThreshold": 10,
         "isAbnormalThreshold": 20,
         "isAbnormalThreshold": 20,
         "hasOffenders": false
         "hasOffenders": false
-    },
+    },*/
     "documentWriteCalls": {
     "documentWriteCalls": {
         "tool": "phantomas",
         "tool": "phantomas",
         "label": "document.write calls",
         "label": "document.write calls",