diff --git a/lib/metadata/policies.js b/lib/metadata/policies.js index 8e55155..f43d6fb 100644 --- a/lib/metadata/policies.js +++ b/lib/metadata/policies.js @@ -384,7 +384,7 @@ var policies = { "message": "
Yellow Lab Tools failed to parse a CSS file. I doubt the problem comes from the css parser.
Maybe a CSS validator can help you.
", "isOkThreshold": 0, "isBadThreshold": 1, - "isAbnormalThreshold": 1, + "isAbnormalThreshold": 8, "hasOffenders": true, "offendersTransformFn": function(offenders) { return { diff --git a/lib/metadata/scoreProfileGeneric.json b/lib/metadata/scoreProfileGeneric.json index e1b4b57..319c83c 100644 --- a/lib/metadata/scoreProfileGeneric.json +++ b/lib/metadata/scoreProfileGeneric.json @@ -35,12 +35,6 @@ "jQueryVersionsLoaded": 0.1 } }, - "cssSyntaxError": { - "label": "CSS syntax errors", - "policies": { - "cssParsingErrors": 1 - } - }, "cssComplexity": { "label": "CSS complexity", "policies": { @@ -53,6 +47,7 @@ "badCSS": { "label": "Bad CSS", "policies": { + "cssParsingErrors": 4, "cssImports": 3, "cssDuplicatedSelectors": 2, "cssDuplicatedProperties": 1,