UNPKG

generator-bitch

Version:

A simple generator (for Yeoman) to scaffolding web applications, just frontend stack

16 lines (13 loc) 329 B
import gulp from 'gulp' import config from './config.js' import eslint from 'gulp-eslint' import gutil from 'gulp-util' gulp.task('lint', lintTask) function lintTask() { return gulp .src(config.lint) .pipe(eslint()) .pipe(eslint.format()) .pipe(eslint.failAfterError()) .on('error', () => gutil.beep()) }