Remove evalCalls from policies (phantomas bug)

This commit is contained in:
Gaël Métais
2015-04-25 18:03:56 +02:00
parent c2db1c70e3
commit ef2eaceb88
+2 -2
View File
@@ -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",