sall brown
sall brown

Reputation: 135

Grunt html validation plugin

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

Answers (1)

lucifer63
lucifer63

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

Related Questions