gulp-bootlint
A gulp wrapper for Bootlint, the HTML linter for Bootstrap projects.
Installation
Install via npm:
npm install gulp-bootlint --save-dev
Usage
var gulp = require('gulp');
var bootlint = require('gulp-bootlint');
gulp.task('default', function() {
gulp.src('./index.html')
.pipe(bootlint());
});
Options
options.disabledIds
Array of bootlint problem ID codes (String
s) to explicitly ignore.
Example:
var gulp = require('gulp');
var bootlint = require('gulp-bootlint');
gulp.task('default', function() {
gulp.src('./index.html')
.pipe(bootlint({
disabledIds: ['W009', 'E007']
}));
});