Skip to content

Commit 09afa15

Browse files
committed
Fix linting errors in gulpfile
1 parent 3569248 commit 09afa15

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

gulpfile.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ gulp.task('test-script-format', () =>
1616
gulp.src(['./src/js/**/*.js'])
1717
.pipe(eslint())
1818
.pipe(eslint.format())
19-
.pipe(eslint.failOnError())
19+
.pipe(eslint.failOnError()),
2020
);
2121

2222
gulp.task('compile-test-script', () =>
2323
gulp.src(['./test/index.js'])
24-
.pipe(webpack(require('./webpack.config.js')))
25-
.pipe(gulp.dest('./test/compiled/'))
24+
.pipe(webpack(webpackConfig))
25+
.pipe(gulp.dest('./test/compiled/')),
2626
);
2727

2828
// Disabled for now
2929
gulp.task('test-mocha', ['script-compile-test'], () =>
3030
gulp.src(['test/test.html'])
31-
.pipe(mocha({ reporter: 'spec' }))
31+
.pipe(mocha({ reporter: 'spec' })),
3232
);
3333

3434
gulp.task('test-script', ['test-script-format']);
@@ -37,7 +37,7 @@ gulp.task('build-script', ['test-script'], () =>
3737
gulp.src(['./src/index.js'])
3838
.pipe(webpack(webpackConfig))
3939
.pipe(header(banner, { pkg }))
40-
.pipe(gulp.dest('./lib/'))
40+
.pipe(gulp.dest('./lib/')),
4141
);
4242

4343
gulp.task('build-style', () =>
@@ -47,13 +47,13 @@ gulp.task('build-style', () =>
4747
.pipe(sass({
4848
outputStyle: 'expanded',
4949
}).on('error', sass.logError))
50-
.pipe(gulp.dest('./lib'))
50+
.pipe(gulp.dest('./lib')),
5151
);
5252

5353
gulp.task('build-examples', ['build-script', 'build-style'], () =>
5454
gulp.src(['./examples/index.js'])
5555
.pipe(webpack(testWebpackConfig))
56-
.pipe(gulp.dest('./examples/compiled/'))
56+
.pipe(gulp.dest('./examples/compiled/')),
5757
);
5858

5959
gulp.task('watch', () => {

0 commit comments

Comments
 (0)