Skip to content

Instantly share code, notes, and snippets.

@scottaddie
Created September 14, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottaddie/1d83a2ceee4dbdc72133 to your computer and use it in GitHub Desktop.
Save scottaddie/1d83a2ceee4dbdc72133 to your computer and use it in GitHub Desktop.
gulpfile.js with Bootlint stoponerror and stoponwarning options
var gulp = require('gulp');
var bootlint = require('gulp-bootlint');
gulp.task('bootlint', function(){
gulp.src('Views/**/*.cshtml')
.pipe(bootlint({
disabledIds: ['E001', 'E007'],
stoponerror: true,
stoponwarning: true
}));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment