Reputation: 135
I have installed grunt html validation plugin Link
Registered task.
But have error when i call this task from command link
error like this
Network error re-validating.. 1
My register task look likes:
validation: {
files: {
src: ['dist/index.html']
}
}
grunt.loadNpmTasks('grunt-html-validation');
grunt.registerTask('default', ['validation']);
Upvotes: 0
Views: 263
Reputation: 685
Refer to this issue. In short: the plugin is unusable now.
You can use grunt-w3c-html-validation plugin instead of it.
Upvotes: 0