Skip to content

Commit 75b7fda

Browse files
[chore] Speed up lint by avoiding '**/*.js' matching pattern (#517)
1 parent 402fa06 commit 75b7fda

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ gulp.task('test', ['lint'], function () {
4747

4848
gulp.task('lint', function () {
4949
return gulp.src([
50-
'**/*.js',
51-
'!node_modules/**',
52-
'!coverage/**',
50+
'*.js',
51+
'lib/**/*.js',
52+
'test/**/*.js',
5353
'!engine.io.js'
5454
])
5555
.pipe(eslint())

test/support/public/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*global importScripts,eio,postMessage*/
1+
/* global importScripts,eio,postMessage */
22

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

0 commit comments

Comments
 (0)