Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax error causes failure because of - in html-validation #80

Open
NYCJacob opened this issue Oct 17, 2016 · 0 comments
Open

syntax error causes failure because of - in html-validation #80

NYCJacob opened this issue Oct 17, 2016 · 0 comments

Comments

@NYCJacob
Copy link

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 -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant