mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-28 11:33:43 +03:00
16 lines
376 B
JavaScript
16 lines
376 B
JavaScript
var gulp = require('gulp');
|
|
var tslint = require('gulp-tslint');
|
|
var paths = require('../paths');
|
|
|
|
gulp.task('lint', function () {
|
|
return gulp.src([paths.source, paths.tests])
|
|
.pipe(tslint({
|
|
rulesDirectory: 'node_modules/codelyzer'
|
|
}))
|
|
.pipe(tslint.report(require('tslint-stylish'), {
|
|
emitError: true,
|
|
sort: true,
|
|
bell: true
|
|
}));
|
|
});
|