Skip to content

Commit

Permalink
[chore] Speed up lint by avoiding '**/*.js' matching pattern (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne authored Oct 31, 2016
1 parent 402fa06 commit 75b7fda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ gulp.task('test', ['lint'], function () {

gulp.task('lint', function () {
return gulp.src([
'**/*.js',
'!node_modules/**',
'!coverage/**',
'*.js',
'lib/**/*.js',
'test/**/*.js',
'!engine.io.js'
])
.pipe(eslint())
Expand Down
2 changes: 1 addition & 1 deletion test/support/public/worker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global importScripts,eio,postMessage*/
/* global importScripts,eio,postMessage */

importScripts('/test/support/engine.io.js');

Expand Down

0 comments on commit 75b7fda

Please sign in to comment.