diff --git a/gulpfile.js b/gulpfile.js index 4ae0d93d23..1730d0971a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -178,7 +178,14 @@ gulp.task('sync', syncDepenedents, function() { }); gulp.task('lint-js', function() { - return gulp.src(['public/js/lib/**/*']) + return gulp.src([ + 'common/**/*.js', + 'common/**/*.jsx', + 'client/**/*.js', + 'client/**/*.jsx', + 'server/**/*.js', + 'config/**/*.js' + ]) .pipe(eslint()) .pipe(eslint.format()); }); diff --git a/package.json b/package.json index 281b6dad06..5da10fc78a 100644 --- a/package.json +++ b/package.json @@ -61,8 +61,8 @@ "frameguard": "^0.2.2", "github-api": "~0.10.6", "gulp": "~3.9.0", - "gulp-eslint": "~1.0.0", "gulp-inject": "~3.0.0", + "gulp-eslint": "~1.0.0", "gulp-jsonlint": "^1.1.0", "gulp-less": "^3.0.3", "gulp-minify-css": "~1.2.1",