Skip to content

Commit

Permalink
add exception for all the CSS errors reported by the validator.nu (#1610
Browse files Browse the repository at this point in the history
)
  • Loading branch information
deniak committed Jun 23, 2022
1 parent 9f74746 commit 619390d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/exceptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Exceptions.prototype.has = function (shortname, rule, key, extra) {
(!exception.message &&
compareValue(extra.type, exception.type)) ||
(exception.message &&
compareValue(extra.message, exception.message)))
new RegExp(exception.message).test(extra.message)))
) {
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/exceptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"rule": "validation.html",
"type": "noexistence-at-all",
"message": "CSS: “caret-shape”: Property “caret-shape” doesn't exist."
"message": "^CSS: .*$"
},
{
"rule": "validation.html",
Expand Down

0 comments on commit 619390d

Please sign in to comment.