1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/gulp/jshint.js

14 lines
378 B
JavaScript
Raw Normal View History

2014-08-29 00:40:18 +03:00
var gulp = require('gulp');
var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');
var cache = require('gulp-cached');
var paths = require('./paths.js');
gulp.task('jshint', function () {
return gulp.src([paths.src.scripts, paths.src.exclude.libs])
2014-08-30 07:32:09 +03:00
.pipe(cache('jshint'))
2015-02-04 02:56:18 +02:00
.pipe(jshint())
2014-08-29 00:40:18 +03:00
.pipe(jshint.reporter(stylish));
2015-01-30 03:14:38 +02:00
});