mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-30 20:43:42 +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
|
|
}));
|
|
});
|