Change cssParsingError's weight and category

This commit is contained in:
Gaël Métais
2015-05-04 17:20:01 +02:00
parent 604857648b
commit 7e86e83173
2 changed files with 2 additions and 7 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ var policies = {
"message": "<p>Yellow Lab Tools failed to parse a CSS file. I doubt the problem comes from the css parser.</p><p>Maybe a <a href=\"http://jigsaw.w3.org/css-validator\" target=\"_blank\">CSS validator</a> can help you.</p>",
"isOkThreshold": 0,
"isBadThreshold": 1,
"isAbnormalThreshold": 1,
"isAbnormalThreshold": 8,
"hasOffenders": true,
"offendersTransformFn": function(offenders) {
return {
+1 -6
View File
@@ -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,