Skip to content

Commit f7c82c4

Browse files
committed
Update gulp to v4.0.0
1 parent d6c56ff commit f7c82c4

File tree

3 files changed

+1685
-622
lines changed

3 files changed

+1685
-622
lines changed

gulpfile.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@
33
const gulp = require('gulp');
44
const eslint = require('.');
55

6-
gulp.task('test', function() {
6+
function test() {
77
return gulp.src(['**/*.js', '!node_modules/**', '!coverage/**', '!test/fixtures/**'])
88
.pipe(eslint())
99
.pipe(eslint.format())
1010
.pipe(eslint.failAfterError());
11-
});
11+
}
1212

13-
gulp.task('default', ['test']);
13+
module.exports = {
14+
test,
15+
default: gulp.parallel(test)
16+
};

0 commit comments

Comments
 (0)