Socket
Socket
Sign inDemoInstall

gulp-html5-lint

Package Overview
Dependencies
131
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-html5-lint

gulp plugin for html5-lint


Version published
Maintainers
1
Install size
10.4 MB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 06 Nov 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc