diff --git a/gulpfile.js b/gulpfile.js index d54480b..2b3b41e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -4,7 +4,6 @@ var gulp = require('gulp'); var babel = require('gulp-babel'); var eslint = require('gulp-eslint'); -var excludeGitignore = require('gulp-exclude-gitignore'); var mocha = require('gulp-mocha'); var nsp = require('gulp-nsp'); var rimraf = require('rimraf'); @@ -23,8 +22,7 @@ gulp.task('clean', function(cb) { }); gulp.task('static', function() { - return gulp.src('**/*.js') - .pipe(excludeGitignore()) + return gulp.src(['*.js', 'lib/**/*.js', 'test/**/*.js']) .pipe(eslint()) .pipe(eslint.format()) .pipe(eslint.failAfterError()); diff --git a/package.json b/package.json index a49e35c..27a1d04 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "gulp": "^3.6.0", "gulp-babel": "^5.1.0", "gulp-eslint": "^0.15.0", - "gulp-exclude-gitignore": "^1.0.0", "gulp-mocha": "^2.0.0", "gulp-nsp": "^0.4.5", "karma": "^0.13.3",