Advertisement
Guest User

Untitled

a guest
Nov 30th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. // ### JSHint
  2. // `gulp jshint` - Lints configuration JSON and project JS.
  3. gulp.task('jshint', function() {
  4. return gulp.src([
  5. 'bower.json', 'gulpfile.js'
  6. ].concat(project.js))
  7. .pipe(jshint())
  8. .pipe(jshint.reporter('jshint-stylish'))
  9. .pipe(gulpif(enabled.failJSHint, jshint.reporter('fail')));
  10. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement