grunt-html-validation icon indicating copy to clipboard operation
grunt-html-validation copied to clipboard

Ignore all warnings

Open lawlesscreation opened this issue 10 years ago • 1 comments

It would be nice if there was an option to ignore all warnings. At present warnings like this:

"The date input type is not supported in all browsers. Please be sure to test, and consider using a polyfill."

Cause the task to think there was an error and thus return fail (assuming failHard is on). I know this can be added to the relaxerror option, but it feels like warnings from the validation service should not be considered errors. An option like ignoreWarnings: true would be nice or even better, if warning are shown but do not cause it to fail - even when failHard is true.

Thanks!

lawlesscreation avatar Aug 20 '14 20:08 lawlesscreation

Yes please, it would be nice!

elchiconube avatar Apr 28 '15 12:04 elchiconube