mirror of
https://github.com/boostorg/unordered-ui-bundle.git
synced 2026-01-19 04:42:15 +00:00
- upgrade to Gulp 4 - refactor tasks to use Gulp 4 task system - switch from map-stream to through2.obj - switch from fs to fs-extra - fix Gulp prettier+eslint integration - rename tasks
13 lines
250 B
JavaScript
13 lines
250 B
JavaScript
'use strict'
|
|
|
|
const eslint = require('gulp-eslint')
|
|
const vfs = require('vinyl-fs')
|
|
|
|
module.exports = (files) => (done) =>
|
|
vfs
|
|
.src(files)
|
|
.pipe(eslint())
|
|
.pipe(eslint.format())
|
|
.pipe(eslint.failAfterError())
|
|
.on('error', done)
|