mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
update lint and format
This commit is contained in:
parent
8f5504eb85
commit
d1915de735
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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
|
||||
|
||||
gulp.watch( paths.build, [ 'build' ] );
|
||||
@ -75,7 +75,10 @@ gulp.task( 'watch', [ 'build', 'test' ], function() {
|
||||
base: './'
|
||||
} )
|
||||
.pipe( $.esformatter( formattingOptions ) )
|
||||
.pipe( gulp.dest( './' ) );
|
||||
.pipe( gulp.dest( './' ) )
|
||||
.pipe( $.jshint( '.jshintrc' ) )
|
||||
.pipe( $.jshint.reporter( 'jshint-stylish' ) )
|
||||
.pipe( $.jshint.reporter( 'fail' ) );
|
||||
|
||||
} );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user