Gulp plugin for HTML5 linting using the Mozilla HTML5 validator API. Version 1.1.0 is the latest stable release. This plugin sends HTML files to the validator.nu API for validation and reports issues via gulp-notify. It is designed for use with gulp 3.x and wraps the html5-lint npm package. Key differentiators: leverages the official Mozilla validator API (requires internet connectivity), provides options for API timeout and error handling, and integrates seamlessly into gulp workflows. Alternatives: gulp-htmlhint, gulp-w3c-html-validator.
npm install gulp-html5-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a gulp task that lints all HTML files in ./src using the Mozilla validator API.
Ensure network connectivity or use a local validator instance.
Use gulp 3.x or wrap with appropriate gulp 4 task syntax.
Increase timeout via options.apiCheck.timeout.
Consider alternatives like gulp-htmlhint or gulp-w3c-html-validator.
Use Node.js 0.10 to 10.x; may fail on Node 12+.
Specify a different port via options.port.
Check internet connection or firewall rules.
Use require() and gulp 3.x syntax, or use gulp.series for gulp 4.