mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 17:43:45 +03:00
11 lines
250 B
JavaScript
11 lines
250 B
JavaScript
|
var gulp = require('gulp');
|
||
|
var eslint = require('gulp-eslint');
|
||
|
var paths = require('../paths');
|
||
|
|
||
|
gulp.task('lint', function () {
|
||
|
return gulp.src(paths.source)
|
||
|
.pipe(eslint())
|
||
|
.pipe(eslint.format())
|
||
|
.pipe(eslint.failAfterError());
|
||
|
});
|