gulp-html5-lint

1.1.0 • Public • Published

gulp-html5-lint Circle CI Build Status

Usage

First, install gulp-html5-lint as a development dependency:

npm install --save-dev gulp-html5-lint

Then add it to your gulpfile.js:

var html5Lint = require('gulp-html5-lint');
 
gulp.task('html5-lint', function() {
    return gulp.src('./src/*.html')
        .pipe(html5Lint());
});

API

html5Lint(options)

Options are those you would provide to https://github.com/mozilla/html5-lint

Additional options include:

  • apiCheck.timeout {number} request timeout to check if html5 lint API is available (default: 10 seconds)
  • apiCheck.triggerError {boolean} timeout on request to check whether html5 lint API is available (default: false)

License

MIT License

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.018latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.018
1.0.10
1.0.00

Package Sidebar

Install

npm i gulp-html5-lint

Weekly Downloads

18

Version

1.1.0

License

MIT

Last publish

Collaborators

  • spaintrain