UNPKG

315 BJavaScriptView Raw
1'use strict';
2
3const gulp = require('gulp');
4const settings = require('./settings.json');
5const plugins = require('gulp-load-plugins')(settings.plugins);
6
7gulp.task('lint', () => gulp.src(settings.lint, { cwd: settings.dev })
8 .pipe(plugins.plumber())
9 .pipe(plugins.eslint())
10 .pipe(plugins.eslint.format())
11);