Ignore using Regex literal or String literal as exampled in README doesn't work
jaredmcateer opened this issue · 2 comments
jaredmcateer commented
Attempting to use a String literal or Regex literal for ignoring errors throws the following error:
all: {
options: {
ignore: 'The “clear” attribute on the “br” element is obsolete. Use CSS instead.'
},
src: "html4.html"
}
Fatal error: Object Attribute "The 'clear' attribute on the 'br' element is obsolete. Use CSS instead.” at this point. has no method 'every'
The ignore rules must be wrapped in an array, every if just one.
jaredmcateer commented
Sorry I didn't check include the PRs when I searched for an existing issue.