4 var gulp = require('gulp');
5 var jshint = require('gulp-jshint');
7 gulp.task('lint', function() {
8 return gulp.src(['gulpfile.js', 'lib/**/*.js', 'test/**/*.js'])
9 .pipe(jshint('.jshintrc'))
10 .pipe(jshint.reporter('jshint-stylish', {verbose: true}))
11 .pipe(jshint.reporter('fail'));
14 gulp.task('default', gulp.series('lint'));