Change warning limit for not so important metrics
This commit is contained in:
@@ -268,7 +268,7 @@ var policies = {
|
||||
"message": "<p>Universal selectors are the most expensive CSS selectors.</p><p>More informations <a href=\"http://perfectionkills.com/profiling-css-for-fun-and-profit-optimization-notes/\" target=\"_blank\">here</a>.</p>",
|
||||
"isOkThreshold": 0,
|
||||
"isBadThreshold": 40,
|
||||
"isAbnormalThreshold": 80
|
||||
"isAbnormalThreshold": 150
|
||||
},
|
||||
"cssRedundantBodySelectors": {
|
||||
"tool": "phantomas",
|
||||
@@ -276,7 +276,7 @@ var policies = {
|
||||
"message": "<p>This is one way to remove complexity from a CSS rule. Generally, when \"body\" is specified in a rule it can be removed, because an element is necessarily inside the body.</p>",
|
||||
"isOkThreshold": 0,
|
||||
"isBadThreshold": 50,
|
||||
"isAbnormalThreshold": 150
|
||||
"isAbnormalThreshold": 200
|
||||
},
|
||||
"cssRedundantChildNodesSelectors": {
|
||||
"tool": "phantomas",
|
||||
@@ -284,7 +284,7 @@ var policies = {
|
||||
"message": "<p>Some tags included inside other tags are obvious. For example, when \"ul li\" is specified in a rule, \"ul\" can be removed because the \"li\" element is <b>always</b> inside a \"ul\". Same thing for \"tr td\", \"select option\", ...</p><p>Lowering compexity in CSS selectors can make the page load a little faster.</p>",
|
||||
"isOkThreshold": 0,
|
||||
"isBadThreshold": 50,
|
||||
"isAbnormalThreshold": 150
|
||||
"isAbnormalThreshold": 200
|
||||
},
|
||||
"requests": {
|
||||
"tool": "phantomas",
|
||||
|
||||
Reference in New Issue
Block a user