This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-html5-lint --save-dev
gruntloadNpmTasks "grunt-html5-lint" ;
In your project's Gruntfile, add a section named
grunt-html5-lint to the data object passed into
gruntinitConfiggrunt-html5-lint:views: "value" // The value in this key:value pair refer to where your template dirdefaults:// if you have used nunjucks and wanted to pass defaults value to the objects// for example:"email": "firstname.lastname@example.org""username": "abcd"templates:"index.html" // files that you want to be check"layout.html"ignoreList:// the format of ignoreList is in the array format"message to be ignored""another message"// you can simply copy the message you got from the returned on the console//for example this"Bad value “” for attribute “action” on element “form”: Must be non-empty."