瀏覽代碼

Remove evalCalls from policies (phantomas bug)

Gaël Métais 10 年之前
父節點
當前提交
ef2eaceb88
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/metadata/policies.js

+ 2 - 2
lib/metadata/policies.js

@@ -226,7 +226,7 @@ var policies = {
             };
         }
     },
-    "evalCalls": {
+    /*"evalCalls": {
         "tool": "phantomas",
         "label": "eval calls",
         "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,
         "isAbnormalThreshold": 20,
         "hasOffenders": false
-    },
+    },*/
     "documentWriteCalls": {
         "tool": "phantomas",
         "label": "document.write calls",