1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-19 10:54:05 +02:00
Sonarr/gulp/jshint.js

16 lines
398 B
JavaScript
Raw Normal View History

2014-08-28 14:40:18 -07: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');
2015-07-21 19:42:38 -07:00
gulp.task('jshint', function() {
return gulp.src([
paths.src.scripts,
paths.src.exclude.libs
])
2014-08-29 21:32:09 -07:00
.pipe(cache('jshint'))
2015-02-03 16:56:18 -08:00
.pipe(jshint())
2014-08-28 14:40:18 -07:00
.pipe(jshint.reporter(stylish));
2015-01-29 17:14:38 -08:00
});