|
@@ -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",
|