grunt-html-validation
grunt-html-validation copied to clipboard
syntax error causes failure because of - in html-validation
w3c-validation fork plugin does not work. grunt and my editor throw syntax errors because of the - in the plugin names. I was using the original html-validation plugin without problems. This is my config stanza. html-validation: { options: { reset: grunt.option('reset') || false, stoponerror: false, relaxerror: ["Bad value X-UA-Compatible for attribute http-equiv on element meta."] //ignores these errors }, files: { src: '*.html' } }
This is the error message: Loading "Gruntfile.js" tasks...ERROR
SyntaxError: Unexpected token -