update lint and format

This commit is contained in:
Doug Fritz 2014-09-15 13:22:54 -07:00
parent 8f5504eb85
commit d1915de735
3 changed files with 24 additions and 19 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -59,7 +59,7 @@ gulp.task( 'test', function() {
} ); } );
gulp.task( 'watch', [ 'build', 'test' ], function() { gulp.task( 'watch', [ 'lint', 'build', 'test' ], function() {
// watches and builds all tasks // watches and builds all tasks
gulp.watch( paths.build, [ 'build' ] ); gulp.watch( paths.build, [ 'build' ] );
@ -75,7 +75,10 @@ gulp.task( 'watch', [ 'build', 'test' ], function() {
base: './' base: './'
} ) } )
.pipe( $.esformatter( formattingOptions ) ) .pipe( $.esformatter( formattingOptions ) )
.pipe( gulp.dest( './' ) ); .pipe( gulp.dest( './' ) )
.pipe( $.jshint( '.jshintrc' ) )
.pipe( $.jshint.reporter( 'jshint-stylish' ) )
.pipe( $.jshint.reporter( 'fail' ) );
} ); } );