var gulp = require( 'gulp' );
var jscs = require( 'gulp-jscs' );
var files_matcher = [ 'component/**/*.js', 'gulp/**/*.js', '*.js' ];

gulp.task( 'check-syntax', function() { 
  return gulp.src(files_matcher)
    .pipe(jscs())
    .pipe(jscs.reporter());
} );

gulp.task( 'refactor', function() {
  return gulp.src(files_matcher, { base: './' })
    .pipe(jscs({ 
      fix: true
    }))
    .pipe(gulp.dest('.'));
} );


@@ -200,16 +200,32 @@
 _matcher
+, %7B base: './' %7D
 )%0A    .p

Set base on `check-syntax` task