Change cssParsingError's weight and category
This commit is contained in:
@@ -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>",
|
"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,
|
"isOkThreshold": 0,
|
||||||
"isBadThreshold": 1,
|
"isBadThreshold": 1,
|
||||||
"isAbnormalThreshold": 1,
|
"isAbnormalThreshold": 8,
|
||||||
"hasOffenders": true,
|
"hasOffenders": true,
|
||||||
"offendersTransformFn": function(offenders) {
|
"offendersTransformFn": function(offenders) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -35,12 +35,6 @@
|
|||||||
"jQueryVersionsLoaded": 0.1
|
"jQueryVersionsLoaded": 0.1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cssSyntaxError": {
|
|
||||||
"label": "CSS syntax errors",
|
|
||||||
"policies": {
|
|
||||||
"cssParsingErrors": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cssComplexity": {
|
"cssComplexity": {
|
||||||
"label": "CSS complexity",
|
"label": "CSS complexity",
|
||||||
"policies": {
|
"policies": {
|
||||||
@@ -53,6 +47,7 @@
|
|||||||
"badCSS": {
|
"badCSS": {
|
||||||
"label": "Bad CSS",
|
"label": "Bad CSS",
|
||||||
"policies": {
|
"policies": {
|
||||||
|
"cssParsingErrors": 4,
|
||||||
"cssImports": 3,
|
"cssImports": 3,
|
||||||
"cssDuplicatedSelectors": 2,
|
"cssDuplicatedSelectors": 2,
|
||||||
"cssDuplicatedProperties": 1,
|
"cssDuplicatedProperties": 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user