Speed up eslint

This commit is contained in:
Aaron Jensen 2015-08-19 00:31:06 -07:00
parent 0cf608c2c4
commit 53eb8e15aa
2 changed files with 1 additions and 4 deletions

View File

@ -4,7 +4,6 @@ var gulp = require('gulp');
var babel = require('gulp-babel'); var babel = require('gulp-babel');
var eslint = require('gulp-eslint'); var eslint = require('gulp-eslint');
var excludeGitignore = require('gulp-exclude-gitignore');
var mocha = require('gulp-mocha'); var mocha = require('gulp-mocha');
var nsp = require('gulp-nsp'); var nsp = require('gulp-nsp');
var rimraf = require('rimraf'); var rimraf = require('rimraf');
@ -23,8 +22,7 @@ gulp.task('clean', function(cb) {
}); });
gulp.task('static', function() { gulp.task('static', function() {
return gulp.src('**/*.js') return gulp.src(['*.js', 'lib/**/*.js', 'test/**/*.js'])
.pipe(excludeGitignore())
.pipe(eslint()) .pipe(eslint())
.pipe(eslint.format()) .pipe(eslint.format())
.pipe(eslint.failAfterError()); .pipe(eslint.failAfterError());

View File

@ -42,7 +42,6 @@
"gulp": "^3.6.0", "gulp": "^3.6.0",
"gulp-babel": "^5.1.0", "gulp-babel": "^5.1.0",
"gulp-eslint": "^0.15.0", "gulp-eslint": "^0.15.0",
"gulp-exclude-gitignore": "^1.0.0",
"gulp-mocha": "^2.0.0", "gulp-mocha": "^2.0.0",
"gulp-nsp": "^0.4.5", "gulp-nsp": "^0.4.5",
"karma": "^0.13.3", "karma": "^0.13.3",