// gulp
var gulp = require('gulp');

// plugins
var jshint = require('gulp-jshint');
var jscs = require('gulp-jscs');
var argv   = require('yargs').argv;
var gulpIgnore = require('gulp-ignore');

var filesJSToScan =  (argv.js ? argv.js : 'src/**/*.js');
var filesJSToIgnore = [
    '**/*jquery*',
    '**/*min*',
    '**/wowslider*',
    '**/wowSlider/engine1/script.js',
    '**/js/bootstrap.js',
    '**/js/wowSliderForm.js'
];

gulp.task('jscs', function () {
    return gulp.src(filesJSToScan)
        .pipe(gulpIgnore.exclude(filesJSToIgnore))
        .pipe(jscs());
});

gulp.task('jshint', function () {
    gulp.src(filesJSToScan)
        .pipe(gulpIgnore.exclude(filesJSToIgnore))
        .pipe(jshint())
        .pipe(jshint.reporter('default'));
});

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

@@ -275,157 +275,8 @@
 = %5B%0A
-    '**/*jquery*',%0A    '**/*min*',%0A    '**/wowslider*',%0A    '**/wowSlider/engine1/script.js',%0A    '**/js/bootstrap.js',%0A    '**/js/wowSliderForm.js'%0A
 %5D;%0A%0A

Delete non present ignore files from gulp parsing