Skip to content

Instantly share code, notes, and snippets.

@paddycakes
Created December 2, 2014 15:24
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 paddycakes/8d11adbd505b2c9cfbed to your computer and use it in GitHub Desktop.
Save paddycakes/8d11adbd505b2c9cfbed to your computer and use it in GitHub Desktop.
Basic Gulp file with jshint configured
var gulp = require("gulp");
var jshint = require("gulp-jshint");
gulp.task("default", function () {
console.log("Hello Gulp");
return gulp.src("./js/**/*.js")
.pipe(jshint())
.pipe(jshint.reporter("default"));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment