var gulp   = require('gulp');
var jshint = require('gulp-jshint');
var jscs   = require('gulp-jscs');

gulp.task('jshint', function() {
  return gulp.src('./lib/*.js')
    .pipe(jshint())
    .pipe(jshint.reporter('jshint-stylish'));
});

gulp.task('jscs', function () {
  return gulp.src('./lib/*.js')
    .pipe(jscs());
});

gulp.task('default', ['jshint', 'jscs']);

'use strict';

var gulp   = require('gulp');
var jshint = require('gulp-jshint');
var jscs   = require('gulp-jscs');

var src = [
  './lib/*.js',
  'index.js',
  'gulpfile.js'
];

gulp.task('jshint', function() {
  return gulp.src(src)
    .pipe(jshint())
    .pipe(jshint.reporter('jshint-stylish'));
});

gulp.task('jscs', function () {
  return gulp.src(src)
    .pipe(jscs());
});

gulp.task('default', ['jshint', 'jscs']);

Update gulp file to lint more src
Update gulp file to lint more src
