rind-modules-gulp
Version:
gulp task to generate rind modules symlink tree
17 lines (14 loc) • 381 B
JavaScript
;
var eslint = require('gulp-eslint');
module.exports = function(gulp, conf) {
gulp.task('eslint', function() {
return gulp.src(conf.build.get('/lint'))
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failOnError())
.on('error', function() {
// record that there have been errors
gulp.fail = true;
});
});
};